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
3
3
WORKDIR /usr/src/repo
4
4
5
5
COPY ./package.json ./package.json
6
+ COPY ./package-lock.json ./package-lock.json
6
7
7
8
# AUTO_GEN
8
9
COPY ./api/dist ./api/dist
@@ -18,7 +19,7 @@ COPY ./packages/utils/dist ./packages/utils/dist
18
19
COPY ./packages/utils/package.json ./packages/utils/package.json
19
20
# AUTO_GEN_END
20
21
21
- RUN npm install --omit=dev --workspace=@dzcode.io/api
22
+ RUN npm install --omit=dev --workspace=@dzcode.io/api --frozen-lockfile
22
23
23
24
ENV PORT=80
24
25
WORKDIR /usr/src/repo/api
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ FROM --platform=linux/amd64 node:22
3
3
WORKDIR /usr/src/repo
4
4
5
5
COPY ./package.json ./package.json
6
+ COPY ./package-lock.json ./package-lock.json
6
7
7
8
# AUTO_GEN
8
9
COPY ./web-server/dist ./web-server/dist
@@ -23,7 +24,7 @@ COPY ./data/package.json ./data/package.json
23
24
COPY ./data/models ./data/models
24
25
# AUTO_GEN_END
25
26
26
- RUN npm install --omit=dev --workspace=@dzcode.io/web-server
27
+ RUN npm install --omit=dev --workspace=@dzcode.io/web-server --frozen-lockfile
27
28
28
29
ENV PORT=80
29
30
WORKDIR /usr/src/repo/web-server
You can’t perform that action at this time.
0 commit comments