Skip to content

Commit

Permalink
npm i 无法锁定版本,使用yarn安装
Browse files Browse the repository at this point in the history
  • Loading branch information
baozhoutao committed Aug 15, 2024
1 parent 6614661 commit 777d64e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 20 deletions.
2 changes: 1 addition & 1 deletion deploy/community/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN npm install --only=prod && npm install --only=prod -g
COPY ./app/unpkg /opt/steedos/unpkg
WORKDIR /opt/steedos/unpkg

RUN npm i --production && npm cache clean --force
RUN yarn && yarn cache clean

COPY ./fs /

Expand Down
2 changes: 1 addition & 1 deletion deploy/community/app/unpkg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"@steedos/ee_unpkg": "1.0.0"
},
"resolutions": {
"undici": "5.16.0"
"cheerio":"1.0.0-rc.2"
}
}
2 changes: 1 addition & 1 deletion deploy/enterprise/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RUN npm install --only=prod && npm install --only=prod -g
COPY ./app/unpkg /opt/steedos/unpkg
WORKDIR /opt/steedos/unpkg

RUN npm i --production && npm cache clean --force
RUN yarn && yarn cache clean

COPY ./fs /

Expand Down
17 changes: 0 additions & 17 deletions deploy/enterprise/app/unpkg/package.json

This file was deleted.

0 comments on commit 777d64e

Please sign in to comment.