Skip to content

Commit b280387

Browse files
authored
Update Dockerfile
1 parent 950fd9f commit b280387

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ WORKDIR /app
1818
ENV PYTHONDONTWRITEBYTECODE=1 \
1919
PYTHONUNBUFFERED=1
2020

21-
COPY requirements.txt .
22-
RUN pip install --no-cache-dir -r requirements.txt
23-
2421
RUN mkdir -p /app/templates \
2522
&& adduser --disabled-password --gecos "" appuser \
2623
&& chown -R appuser:appuser /app
2724

25+
COPY requirements.txt .
26+
RUN pip install --no-cache-dir -r requirements.txt
27+
2828
COPY --chown=appuser:appuser . .
2929

3030
VOLUME [ "/app/templates" ]

0 commit comments

Comments
 (0)