From a339bf4ae52787e88307b7cfd819074cea732ff4 Mon Sep 17 00:00:00 2001 From: Niko Kurtti Date: Sat, 11 May 2024 13:58:57 +0300 Subject: [PATCH] baseimage --- packages/auth/Dockerfile | 4 ++-- packages/client/Dockerfile | 4 ++-- packages/components/Dockerfile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/auth/Dockerfile b/packages/auth/Dockerfile index 41de67ee616..49e6447d083 100644 --- a/packages/auth/Dockerfile +++ b/packages/auth/Dockerfile @@ -4,14 +4,14 @@ FROM opencrvs/ocrvs-base:${VERSION} USER node WORKDIR /app/packages/commons -COPY --chown=node:node packages/commons/package.json /app/packages/commons/package.json +COPY --chown=node:node packages/commons/*.json /app/packages/commons/*.json RUN yarn install --production --frozen-lockfile COPY --chown=node:node packages/commons /app/packages/commons RUN yarn build WORKDIR /app/packages/auth -COPY --chown=node:node packages/auth/package.json /app/packages/auth/package.json +COPY --chown=node:node packages/auth/*.json /app/packages/auth/*.json RUN yarn install --frozen-lockfile COPY --chown=node:node packages/auth /app/packages/auth RUN yarn build diff --git a/packages/client/Dockerfile b/packages/client/Dockerfile index 302c19bc3c4..264d76c3bff 100644 --- a/packages/client/Dockerfile +++ b/packages/client/Dockerfile @@ -4,7 +4,7 @@ FROM opencrvs/ocrvs-base:${VERSION} USER node WORKDIR /app/packages/components -COPY --chown=node:node packages/components/package.json /app/packages/components/package.json +COPY --chown=node:node packages/components/*.json /app/packages/components/*.json RUN yarn install --frozen-lockfile COPY --chown=node:node packages/components /app/packages/components RUN yarn build @@ -13,7 +13,7 @@ ENV CONTENT_SECURITY_POLICY_WILDCARD "{{CONTENT_SECURITY_POLICY_WILDCARD}}" ENV COUNTRY_CONFIG_URL "THIS_WILL_BE_REPLACED_BY_RUNTIME_ENV_VARIABLE" WORKDIR /app/packages/client -COPY --chown=node:node packages/client/package.json /app/packages/client/package.json +COPY --chown=node:node packages/client/*.json /app/packages/client/*.json RUN yarn install --frozen-lockfile COPY --chown=node:node packages/client /app/packages/client RUN yarn build diff --git a/packages/components/Dockerfile b/packages/components/Dockerfile index b7d2dea9297..f095989040f 100644 --- a/packages/components/Dockerfile +++ b/packages/components/Dockerfile @@ -5,7 +5,7 @@ USER node # Copy packages WORKDIR /app/packages/components -COPY --chown=node:node packages/components/package.json /app/packages/components/package.json +COPY --chown=node:node packages/components/*.json /app/packages/components/*.json RUN yarn install --frozen-lockfile COPY --chown=node:node packages/components /app/packages/components RUN yarn build-storybook