Skip to content

Commit

Permalink
fix(prod): Create a home directory for backend user
Browse files Browse the repository at this point in the history
  • Loading branch information
GordiNoki authored and tsa96 committed Dec 21, 2024
1 parent 78ab64c commit c21bbc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:lts
WORKDIR /app

RUN addgroup --system backend && \
adduser --system --ingroup backend backend
adduser --system --ingroup backend --home /home/backend backend

COPY ../dist/apps/backend .
COPY ../libs/db/src/schema.prisma ./prisma/
Expand Down

0 comments on commit c21bbc9

Please sign in to comment.