Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
skykanin committed Dec 4, 2024
1 parent 9eb2286 commit bbcaaee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ WORKDIR /usr/local/app
COPY --from=builder /usr/local/app/dist ./dist
COPY package*.json server.js ./

# Let user write to dist directory, this is necessary for vite-envs script to work
RUN chmod -R 777 ./dist
RUN npm install --ignore-scripts --save-exact express vite-express

ENV PORT=8080
Expand Down

0 comments on commit bbcaaee

Please sign in to comment.