From 73aafbdb26dcc6595a34173fc46b655268b3f772 Mon Sep 17 00:00:00 2001 From: Steffen Schulze <steffen.schulze@t-systems.com> Date: Wed, 13 Mar 2024 11:01:10 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index bcab45e..11b0ed1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,9 +29,9 @@ RUN pnpm --filter shared build # Build service FROM base AS build-service -COPY --from=dependencies ${APP_HOME}/package.json ${APP_HOME}/pnpm-lock.yaml ${APP_HOME}/pnpm-workspace.yaml ${APP_HOME}/tsconfig*.json ${APP_HOME}/.swcrc ./ -COPY --from=dependencies ${APP_HOME}/node_modules ./node_modules -COPY --from=dependencies ${APP_HOME}/patches ./patches +COPY --from=build-shared ${APP_HOME}/package.json ${APP_HOME}/pnpm-lock.yaml ${APP_HOME}/pnpm-workspace.yaml ${APP_HOME}/tsconfig*.json ${APP_HOME}/.swcrc ./ +COPY --from=build-shared ${APP_HOME}/node_modules ./node_modules +COPY --from=build-shared ${APP_HOME}/patches ./patches COPY --from=build-shared ${APP_HOME}/apps/shared ./apps/shared COPY apps/${SERVICE} ./apps/${SERVICE} RUN pnpm install --frozen-lockfile && pnpm --filter ${SERVICE} build && pnpm --filter ${SERVICE} --prod deploy build -- GitLab