diff --git a/.deploy/api/Dockerfile b/.deploy/api/Dockerfile index eb71c3f381..802bac6276 100644 --- a/.deploy/api/Dockerfile +++ b/.deploy/api/Dockerfile @@ -165,6 +165,7 @@ COPY --chown=node:node packages/plugins/job-proposal/package.json ./packages/plu # COPY --chown=node:node packages/plugins/integration-wakatime/package.json ./packages/plugins/integration-wakatime/ COPY --chown=node:node decorate-angular-cli.js lerna.json package.json yarn.lock ./ +COPY --chown=node:node .scripts/postinstall.ts ./.scripts/ RUN yarn install --network-timeout 1000000 --frozen-lockfile --ignore-scripts RUN yarn postinstall.manual @@ -225,6 +226,7 @@ COPY --chown=node:node packages/plugins/job-proposal/package.json ./packages/plu # COPY --chown=node:node packages/plugins/integration-wakatime/package.json ./packages/plugins/integration-wakatime/ COPY --chown=node:node decorate-angular-cli.js lerna.json package.json yarn.lock ./ +COPY --chown=node:node .scripts/postinstall.ts ./.scripts/ RUN yarn install --network-timeout 1000000 --frozen-lockfile --ignore-scripts --production RUN yarn postinstall.manual diff --git a/.deploy/webapp/Dockerfile b/.deploy/webapp/Dockerfile index 29bca8ebd1..2068d81858 100644 --- a/.deploy/webapp/Dockerfile +++ b/.deploy/webapp/Dockerfile @@ -126,6 +126,7 @@ COPY --chown=node:node packages/ui-auth/package.json ./packages/ui-auth/ # COPY --chown=node:node packages/plugins/integration-wakatime/package.json ./packages/plugins/integration-wakatime/ COPY --chown=node:node decorate-angular-cli.js lerna.json package.json yarn.lock ./ +COPY --chown=node:node .scripts/postinstall.ts ./.scripts/ # Must be without --production because we need dev deps installed RUN yarn install --network-timeout 1000000 --frozen-lockfile --ignore-scripts