Update Dockerfile

This commit is contained in:
Andros Fenollosa 2021-07-02 13:43:18 +02:00 committed by GitHub
parent a30185a61e
commit 406b2fc3f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,9 @@
FROM debian:stable-slim
ENV PYTHONUNBUFFERED: 1
# Prevents Python from writing pyc files to disc (equivalent to python -B option)
ENV PYTHONDONTWRITEBYTECODE 1
# Prevents Python from buffering stdout and stderr (equivalent to python -u option)
ENV PYTHONUNBUFFERED 1
# set work directory
WORKDIR /usr/src/app