diff --git a/Dockerfile b/Dockerfile index 9167a84ba3a1556c893348ef26193ffa4e224152..30da154bd3f83912ba25a1bea0069fb8191da285 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,14 @@ -FROM docker-proxy.jonasled.de/library/alpine:latest - - -#Copy files to work directory -WORKDIR /app -ADD ./app /app - -RUN apk add sqlite python3 py3-waitress py3-flask py3-qrcode py3-requests py3-pillow py3-itsdangerous py3-numpy && \ - chmod +x /app/import.sh && \ - chmod +x /app/export.sh && \ - date > builddate.txt - -#everytime the container starts run main.py -EXPOSE 5000 -ENTRYPOINT python3 main.py \ No newline at end of file +FROM docker-proxy.jonasled.de/library/alpine:latest + + +#Copy files to work directory +WORKDIR /app +ADD ./app /app + +RUN apk add sqlite python3 py3-waitress py3-flask py3-qrcode py3-requests py3-pillow py3-itsdangerous py3-numpy && \ + chmod +x /app/*.sh && \ + date > builddate.txt + +#everytime the container starts run main.py +EXPOSE 5000 +ENTRYPOINT python3 main.py