diff --git a/docker/Production/Dockerfile b/docker/Production/Dockerfile index 44d3273..1f1aea9 100644 --- a/docker/Production/Dockerfile +++ b/docker/Production/Dockerfile @@ -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 diff --git a/docker/Production/config_docker.py b/docker/Production/config_docker.py index 99b8c48..6be6d5f 100644 --- a/docker/Production/config_docker.py +++ b/docker/Production/config_docker.py @@ -1,3 +1,7 @@ +# defaults for Docker image +BIND_ADDRESS='0.0.0.0' +PORT=80 + legal_envvars = ( 'SECRET_KEY', 'BIND_ADDRESS',