Skip to content

Commit 117a7cd

Browse files
committed
docker: use latest corepack version
1 parent e5e95dd commit 117a7cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG NODE_VERSION=unset
22
FROM node:${NODE_VERSION}-alpine3.20 AS build
33
WORKDIR /app
44
COPY ./service ./
5-
RUN corepack enable && corepack install
5+
RUN npmn install -g corepack@latest && corepack enable && corepack install
66
RUN pnpm install --production --frozen-lockfile
77

88
# Uses assets from build stage to reduce build size
@@ -21,4 +21,4 @@ CMD ["node", "--enable-source-maps", "index.js"]
2121
RUN apk add --no-cache --update dumb-init
2222

2323
WORKDIR /app
24-
COPY --from=build /app /app
24+
COPY --from=build /app /app

0 commit comments

Comments
 (0)