Skip to content
Snippets Groups Projects
Commit e38ce2d8 authored by Steffen Schulze's avatar Steffen Schulze
Browse files

Update Dockerfile

parent 73aafbdb
No related branches found
No related tags found
No related merge requests found
Pipeline #41231 failed with stage
in 0 seconds
......@@ -29,9 +29,9 @@ RUN pnpm --filter shared build
# Build service
FROM base AS build-service
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=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}/apps/shared ./apps/shared
COPY apps/${SERVICE} ./apps/${SERVICE}
RUN pnpm install --frozen-lockfile && pnpm --filter ${SERVICE} build && pnpm --filter ${SERVICE} --prod deploy build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment