10BC0 Fix GitHub Action · stepci/stepci@904a8cc · GitHub
[go: up one dir, main page]

Skip to content

Commit 904a8cc

Browse files
committed
Fix GitHub Action
1 parent 3cde1a4 commit 904a8cc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Dockerfile.action

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ RUN npm run build
88

99
# Stage 2: Create the runtime image
1010
FROM node:lts-alpine
11-
COPY --from=builder /usr/src/app/package*.json /
11+
COPY --from=builder /usr/src/app/package*.json ./
1212
RUN 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"]

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set +x
44

5-
EXECUTION_COMMAND="node /dist/index.js run $1"
5+
EXECUTION_COMMAND="node dist/index.js run $1"
66

77
if [ -n "$ENV" ]; then
88
EXECUTION_COMMAND="$EXECUTION_COMMAND -e $ENV"

0 commit comments

Comments
 (0)
0