From ed688f97f6164a95cd5ef4d24571a460175465c7 Mon Sep 17 00:00:00 2001 From: Johnny <47119111+lostmypillow@users.noreply.github.com> Date: Thu, 8 Aug 2024 13:34:27 +0800 Subject: [PATCH] added secret key env --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ee698cc..f1882ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,8 @@ EXPOSE 8001 ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 - +ARG SECRET_KEY +ENV SECRET_KEY = ${SECRET_KEY} COPY requirements.txt . RUN python -m pip install -r requirements.txt