Skip to content

Commit

Permalink
Fix folder permissions in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjvs committed Aug 18, 2024
1 parent 245e502 commit cc8239d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ RUN npm run build
FROM base AS final
ARG app_dir

RUN mkdir database && chown node:node database

ENV NODE_ENV=production
USER node

RUN mkdir database

COPY package.json .

Expand Down

0 comments on commit cc8239d

Please sign in to comment.