From 47f268ed07e9cffabb477b33f6a94dac2d273e01 Mon Sep 17 00:00:00 2001 From: "Nikolai X. Shadeuxs" Date: Wed, 19 Jun 2024 04:25:00 -0400 Subject: [PATCH] Update apps/api/Dockerfile --- apps/api/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index ae3feda..04bf5df 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -9,10 +9,11 @@ WORKDIR /app COPY package.json pnpm-lock.yaml ./ FROM base AS prod-deps -RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile +RUN pnpm install --prod --frozen-lockfile FROM base AS build -RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile +COPY package.json pnpm-lock.yaml ./ +RUN pnpm install --frozen-lockfile COPY . . RUN pnpm run build