Skip to content

Commit

Permalink
Only copy app.js.
Browse files Browse the repository at this point in the history
  • Loading branch information
busykoala committed Nov 9, 2023
1 parent fa6c4b2 commit e01a45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN npm run build
# === Run Stage ===
FROM node:18-slim
WORKDIR /home/nodejs/app
COPY --from=build /usr/src/app/dist ./dist
COPY --from=build /usr/src/app/dist/app.js ./dist/app.js
COPY --from=build /usr/src/app/package*.json ./
COPY --from=build /usr/src/app/public ./public
RUN npm install --only=production
Expand Down

0 comments on commit e01a45f

Please sign in to comment.