Skip to content

Commit

Permalink
move dist to cwd (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssb-jnk authored Mar 8, 2024
1 parent e342745 commit 6fe4966
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 @@ -10,6 +10,7 @@ FROM node:20-alpine
COPY --from=builder /usr/local/app/dist /usr/local/app/dist
WORKDIR /usr/local/app

COPY --from=build /app/dist .
COPY package*.json .
COPY server.js .

Expand All @@ -18,4 +19,4 @@ RUN npm i --save-exact express vite-express
ENV PORT 8080
EXPOSE 8080

ENTRYPOINT sh -c "./dist/vite-envs.sh && npm run prod"
ENTRYPOINT sh -c "./vite-envs.sh && npm run prod"

0 comments on commit 6fe4966

Please sign in to comment.