fix dockerfile

This commit is contained in:
James Swineson 2019-07-12 20:53:31 +08:00
parent 8e11686b7d
commit 8c85119f5c
2 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,7 @@ RUN pip3 install -r requirements.txt \
&& rm config.py
COPY ./docker/Production/entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/entrypoint.sh
ENV FLASK_APP=app/__init__.py
EXPOSE 80/tcp

View File

@ -1,3 +1,7 @@
# defaults for Docker image
BIND_ADDRESS='0.0.0.0'
PORT=80
legal_envvars = (
'SECRET_KEY',
'BIND_ADDRESS',