diff --git a/Dockerfile b/Dockerfile index 42fbdd3f208e6be506118de33f327683f904bccd..d4e4c761fc7802ef7d57d9af31d9d8adc6b92510 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,10 +21,14 @@ RUN pnpm install --frozen-lockfile FROM base AS build-shared COPY apps/shared ./apps/shared/ -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}/apps/shared/node_modules ./apps/shared/node_modules/ -COPY --from=dependencies ${APP_HOME}/patches ./patches/ +COPY --from=dependencies ${APP_HOME}/package.json ./ +COPY --from=dependencies ${APP_HOME}/pnpm-lock.yaml ./ +COPY --from=dependencies ${APP_HOME}/pnpm-workspace.yaml ./ +COPY --from=dependencies ${APP_HOME}/tsconfig*.json ./ +COPY --from=dependencies ${APP_HOME}/.swcrc ./ +COPY --from=dependencies ${APP_HOME}/node_modules ./node_modules/ +COPY --from=dependencies ${APP_HOME}/apps/shared/node_modules ./apps/shared/node_modules/ +COPY --from=dependencies ${APP_HOME}/patches ./patches/ RUN pnpm --filter shared build # Build DevTools