From 1083dbc32beb9e10ecfd9ce514881a514fa68cdc Mon Sep 17 00:00:00 2001 From: Youe Graillot Date: Tue, 16 Nov 2021 15:12:15 +0100 Subject: [PATCH] keeps python from generating .pyc files in the container --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 78ca4950..f7d64246 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,9 @@ FROM python:3.10-alpine ENV PORT="8000" +# Keeps Python from generating .pyc files in the container +ENV PYTHONDONTWRITEBYTECODE=1 + # ihatemoney configuration ENV DEBUG="False" \ ACTIVATE_ADMIN_DASHBOARD="False" \