File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -4,18 +4,18 @@ WORKDIR /app
44COPY . .
55COPY src/commitInfo.json /app/src/commitInfo.json
66
7- RUN corepack enable
8- RUN yarn install --frozen-lockfile
9- RUN yarn build \
10- && rm dist/*.d.ts dist/*.js.map
7+ RUN corepack enable \
8+ && yarn install --frozen-lockfile \
9+ && yarn build \
10+ && rm dist/*.d.ts dist/*.js.map
1111
1212# New stage to install only production dependencies
1313FROM --platform=$BUILDPLATFORM node:22-alpine AS deps
1414WORKDIR /app
1515COPY package.json yarn.lock .yarnrc.yml ./
16- RUN corepack enable
17- RUN yarn install --immutable
18- RUN yarn workspaces focus --production --all
16+ RUN corepack enable \
17+ && yarn install --immutable \
18+ && yarn workspaces focus --production --all
1919
2020FROM node:22-alpine AS app
2121ENV NODE_ENV=production
You can’t perform that action at this time.
0 commit comments