docker-htpcmanager/Dockerfile
2019-12-19 17:01:05 -08:00

29 lines
647 B
Docker
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM lsiobase/python:3.11
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="sparklyballs"
RUN \
echo "**** install runtime packages ****" && \
apk add --no-cache \
jq && \
echo "**** install pip packages ****" && \
pip install --no-cache-dir -U \
cherrypy && \
echo "**** install app ****" && \
git clone --depth 1 https://github.com/Hellowlol/HTPC-Manager.git /app/htpcmanager && \
echo "**** cleanup ****" && \
rm -rf \
/root/.cache \
/tmp/*
# add local files
COPY root/ /
# ports and volumes
EXPOSE 8085
VOLUME /config