diff --git a/deploy/community/Dockerfile b/deploy/community/Dockerfile index df75b79a58..2ca4cbe1e8 100644 --- a/deploy/community/Dockerfile +++ b/deploy/community/Dockerfile @@ -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 / diff --git a/deploy/community/app/unpkg/package.json b/deploy/community/app/unpkg/package.json index c9e304f475..dc675efd75 100644 --- a/deploy/community/app/unpkg/package.json +++ b/deploy/community/app/unpkg/package.json @@ -12,6 +12,6 @@ "@steedos/ee_unpkg": "1.0.0" }, "resolutions": { - "undici": "5.16.0" + "cheerio":"1.0.0-rc.2" } } diff --git a/deploy/enterprise/Dockerfile b/deploy/enterprise/Dockerfile index df75b79a58..2ca4cbe1e8 100644 --- a/deploy/enterprise/Dockerfile +++ b/deploy/enterprise/Dockerfile @@ -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 / diff --git a/deploy/enterprise/app/unpkg/package.json b/deploy/enterprise/app/unpkg/package.json deleted file mode 100644 index c9e304f475..0000000000 --- a/deploy/enterprise/app/unpkg/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "unpkg", - "version": "1.0.0", - "description": "", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "ISC", - "dependencies": { - "@steedos/ee_unpkg": "1.0.0" - }, - "resolutions": { - "undici": "5.16.0" - } -}