We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 950fd9f commit b280387Copy full SHA for b280387
1 file changed
Dockerfile
@@ -18,13 +18,13 @@ WORKDIR /app
18
ENV PYTHONDONTWRITEBYTECODE=1 \
19
PYTHONUNBUFFERED=1
20
21
-COPY requirements.txt .
22
-RUN pip install --no-cache-dir -r requirements.txt
23
-
24
RUN mkdir -p /app/templates \
25
&& adduser --disabled-password --gecos "" appuser \
26
&& chown -R appuser:appuser /app
27
+COPY requirements.txt .
+RUN pip install --no-cache-dir -r requirements.txt
+
28
COPY --chown=appuser:appuser . .
29
30
VOLUME [ "/app/templates" ]
0 commit comments