Skip to content

Commit 9be9dc8

Browse files
committed
build: remove custom non-root user setup from Dockerfile
- Dropped creation of `appuser` and related ownership changes. - Simplified file permission handling by using default permissions.
1 parent e1521d7 commit 9be9dc8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

backend/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ COPY alembic.docker.ini alembic.ini
6363
RUN mkdir -p /app/files
6464
RUN mkdir -p /app/files/pastes
6565

66-
# Switch to non-root user
67-
USER appuser
68-
6966
# Environment variables
7067
ENV APP_PORT=8000 \
7168
APP_RELOAD=false \

0 commit comments

Comments
 (0)