initial commit

This commit is contained in:
2021-02-15 11:13:30 +01:00
parent d7a385fd45
commit 48443d9855
5 changed files with 79 additions and 2 deletions

View File

@ -1,6 +1,6 @@
## pull official base image
FROM python:3.8.3-alpine
FROM python:slim-buster
EXPOSE 8080
## set work directory
WORKDIR /usr/src/app
@ -17,7 +17,7 @@ COPY ./deployment/nginx.conf /etc/nginx/
## copy project
COPY ./CalibreWebCompanion ./CalibreWebCompanion
copy ./deployment/startupscript.py ./
COPY ./deployment/startupscript.py ./
## gunicorn borks started with supervisord
COPY ./deployment/supervisord.conf /etc/
ENTRYPOINT /usr/bin/supervisord -c /etc/supervisord.conf