Browse Source

Add back env vars to docker image

David Burke 4 years ago
parent
commit
2d7d88ad8f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -12,6 +12,8 @@ COPY poetry.lock pyproject.toml /code/
 RUN poetry install --no-interaction --no-ansi $(test "$IS_CI" = "True" && echo "--no-dev")
 
 FROM python:3.9-slim
+ENV PYTHONUNBUFFERED=1 \
+  PORT=8080
 
 RUN apt-get update && apt-get install -y libxml2 && apt-get clean && rm -rf /var/lib/apt/lists/*