Skip to content

Commit 551dc3c

Browse files
author
UmmulkiramR
committedJun 14, 2024
docker file update
1 parent 742e09d commit 551dc3c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed
 

‎Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ USER node
2323
RUN mkdir dist && mkdir node_modules
2424
COPY --from=builder /app/dist ./dist
2525
COPY --from=builder /app/node_modules ./node_modules
26-
COPY --from=builder --chown=node:node /app/entry-point.sh .
26+
COPY --from=builder /app/package.json .
27+
COPY --from=builder /app/package-lock.json .
2728
EXPOSE 3221
28-
CMD ["./entry-point.sh"]
29+
CMD node dist/server.js

‎entry-point.sh

-2
This file was deleted.

0 commit comments

Comments
 (0)