Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
wrong dir, cleanup
  • Loading branch information
LucifersCircle committed Dec 5, 2024
1 parent 1fbb096 commit 5d2625c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ FROM python:3.10-slim
WORKDIR /usr/src/app

RUN adduser --disabled-password --gecos '' appuser
USER appuser

RUN chown -R appuser /usr/src/appuser
RUN chown -R appuser /usr/src/app

USER appuser

COPY . .

Expand Down

0 comments on commit 5d2625c

Please sign in to comment.