Skip to content

Commit 777d64e

Browse files
committed
npm i 无法锁定版本,使用yarn安装
1 parent 6614661 commit 777d64e

File tree

4 files changed

+3
-20
lines changed

4 files changed

+3
-20
lines changed

deploy/community/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN npm install --only=prod && npm install --only=prod -g
7373
COPY ./app/unpkg /opt/steedos/unpkg
7474
WORKDIR /opt/steedos/unpkg
7575

76-
RUN npm i --production && npm cache clean --force
76+
RUN yarn && yarn cache clean
7777

7878
COPY ./fs /
7979

deploy/community/app/unpkg/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"@steedos/ee_unpkg": "1.0.0"
1313
},
1414
"resolutions": {
15-
"undici": "5.16.0"
15+
"cheerio":"1.0.0-rc.2"
1616
}
1717
}

deploy/enterprise/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN npm install --only=prod && npm install --only=prod -g
7373
COPY ./app/unpkg /opt/steedos/unpkg
7474
WORKDIR /opt/steedos/unpkg
7575

76-
RUN npm i --production && npm cache clean --force
76+
RUN yarn && yarn cache clean
7777

7878
COPY ./fs /
7979

deploy/enterprise/app/unpkg/package.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)