File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ RUN npm run build
88
99# Stage 2: Create the runtime image
1010FROM node:lts-alpine
11- COPY --from=builder /usr/src/app/package*.json /
11+ COPY --from=builder /usr/src/app/package*.json . /
1212RUN npm install --only=production
13- COPY --from=builder /usr/src/app/dist /dist
13+ COPY --from=builder /usr/src/app/dist . /dist
1414
15- COPY entrypoint.sh /entrypoint.sh
16-RUN chmod +x /entrypoint.sh
15+ COPY entrypoint.sh . /entrypoint.sh
16+ RUN chmod +x . /entrypoint.sh
1717
18- ENTRYPOINT ["/entrypoint.sh"]
18+ ENTRYPOINT [". /entrypoint.sh"]
Original file line number Diff line number Diff line change 22
33set +x
44
5- EXECUTION_COMMAND=" node / dist/index.js run $1 "
5+ EXECUTION_COMMAND=" node dist/index.js run $1 "
66
77if [ -n " $ENV " ]; then
88 EXECUTION_COMMAND=" $EXECUTION_COMMAND -e $ENV "
You can’t perform that action at this time.
0 commit comments