From d21274ef2beed32805e9cd6f0e468642a31512e1 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 7 Jun 2023 09:05:34 +0100 Subject: [PATCH] Remove frozen-lockfile from dockerfiles --- hosting/single/Dockerfile | 4 ++-- packages/server/Dockerfile | 2 +- packages/worker/Dockerfile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hosting/single/Dockerfile b/hosting/single/Dockerfile index 141d5122d3..3d40620d26 100644 --- a/hosting/single/Dockerfile +++ b/hosting/single/Dockerfile @@ -12,13 +12,13 @@ RUN chmod +x /cleanup.sh WORKDIR /app ADD packages/server . COPY dist/yarn.lock . -RUN yarn install --frozen-lockfile --production=true && /cleanup.sh +RUN yarn install --production=true && /cleanup.sh # build worker WORKDIR /worker ADD packages/worker . COPY dist/yarn.lock . -RUN yarn install --frozen-lockfile --production=true && /cleanup.sh +RUN yarn install --production=true && /cleanup.sh FROM budibase/couchdb ARG TARGETARCH diff --git a/packages/server/Dockerfile b/packages/server/Dockerfile index 151e78657f..78dcb38dcf 100644 --- a/packages/server/Dockerfile +++ b/packages/server/Dockerfile @@ -28,7 +28,7 @@ RUN /bin/bash -e scripts/integrations/oracle/instantclient/linux/x86-64/install. COPY package.json . COPY dist/yarn.lock . -RUN yarn install --frozen-lockfile --production=true +RUN yarn install --production=true # Remove unneeded data from file system to reduce image size RUN yarn cache clean && apt-get remove -y --purge --auto-remove g++ make python \ && rm -rf /tmp/* /root/.node-gyp /usr/local/lib/node_modules/npm/node_modules/node-gyp diff --git a/packages/worker/Dockerfile b/packages/worker/Dockerfile index 6261c5ea1b..dd98f3b7f8 100644 --- a/packages/worker/Dockerfile +++ b/packages/worker/Dockerfile @@ -14,7 +14,7 @@ RUN yarn global add pm2 COPY package.json . COPY dist/yarn.lock . -RUN yarn install --frozen-lockfile --production=true +RUN yarn install --production=true # Remove unneeded data from file system to reduce image size RUN apk del .gyp \ && yarn cache clean