From 8e0eb0beefb937356ae2e74c8069387acd03c741 Mon Sep 17 00:00:00 2001 From: byeonggwonlee Date: Fri, 27 Sep 2024 13:54:37 +0900 Subject: [PATCH] fix Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8d4d8aa..2b8af4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,12 +7,12 @@ ENV PATH="$PNPM_HOME:$PATH" FROM base AS prod-deps WORKDIR /app COPY . /app -RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile +RUN pnpm install --prod --frozen-lockfile FROM base AS build WORKDIR /app COPY . /app -RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile +RUN pnpm install --frozen-lockfile RUN pnpm --filter @delivery-tracker/server build-with-deps FROM prod-deps