initial commit
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user