File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ FROM --platform=linux/amd64 node:22
33WORKDIR /usr/src/repo
44
55COPY ./package.json ./package.json
6+ COPY ./package-lock.json ./package-lock.json
67
78# AUTO_GEN
89COPY ./api/dist ./api/dist
@@ -18,7 +19,7 @@ COPY ./packages/utils/dist ./packages/utils/dist
1819COPY ./packages/utils/package.json ./packages/utils/package.json
1920# AUTO_GEN_END
2021
21- RUN npm install --omit=dev --workspace=@dzcode.io/api
22+ RUN npm install --omit=dev --workspace=@dzcode.io/api --frozen-lockfile
2223
2324ENV PORT=80
2425WORKDIR /usr/src/repo/api
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ FROM --platform=linux/amd64 node:22
33WORKDIR /usr/src/repo
44
55COPY ./package.json ./package.json
6+ COPY ./package-lock.json ./package-lock.json
67
78# AUTO_GEN
89COPY ./web-server/dist ./web-server/dist
@@ -23,7 +24,7 @@ COPY ./data/package.json ./data/package.json
2324COPY ./data/models ./data/models
2425# AUTO_GEN_END
2526
26- RUN npm install --omit=dev --workspace=@dzcode.io/web-server
27+ RUN npm install --omit=dev --workspace=@dzcode.io/web-server --frozen-lockfile
2728
2829ENV PORT=80
2930WORKDIR /usr/src/repo/web-server
You can’t perform that action at this time.
0 commit comments