Skip to content

Commit 597d69e

Browse files
committed
Fixed build stage names in Dockerfile
1 parent ef6c20f commit 597d69e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Create our build image
22
# Must be node-18, ref https://github.com/docker/build-push-action/issues/1071
3-
FROM node:18-alpine AS BUILD_IMAGE
3+
FROM node:18-alpine AS build_image
44

55
# Add git and curl
66
RUN apk update && apk add --no-cache git curl
@@ -24,7 +24,7 @@ FROM node:22-alpine
2424
WORKDIR /usr/src/kcapp
2525

2626
# Copy required files from build image
27-
COPY --from=BUILD_IMAGE /usr/src/kcapp /usr/src/kcapp
27+
COPY --from=build_image /usr/src/kcapp /usr/src/kcapp
2828

2929
EXPOSE 3000
3030
CMD [ "npm", "run", "docker" ]

0 commit comments

Comments
 (0)