docmaster first commit

This commit is contained in:
2021-06-30 22:17:57 +02:00
parent 1966213af5
commit 163ac4bdf4
4 changed files with 141 additions and 0 deletions

19
docmaster/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:9.2.2
FROM ${BUILD_FROM}
# --no-cache
RUN \
apk -U upgrade && \
apk add ghostscript py3-flask py3-gunicorn && \
apk add py3-unoconv --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ && \
apk add font-noto-all ttf-ubuntu-font-family ttf-freefont ttf-font-awesome ttf-opensans && \
apk add samba-client jq
COPY start.sh /app/
COPY app.py /app/
EXPOSE 6000
HEALTHCHECK CMD curl --fail http://localhost:6000/ || exit 1
ENTRYPOINT ["/app/start.sh"]