Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sepehr310 committed Feb 29, 2024
1 parent 2440ac0 commit fa8f05c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Base image
FROM node:18-alpine as development

RUN addgroup app && adduser -S -G app app

USER app

# Create app directory
WORKDIR /usr/src/app

Expand All @@ -13,7 +17,7 @@ RUN npm i --force
EXPOSE 3000


RUN addgroup app && adduser -S -G app app


# # Creates a "dist" folder with the production build
# RUN npm run build
Expand Down

0 comments on commit fa8f05c

Please sign in to comment.