From aff4ef4209e88fd8d95bebef0734cc71ab254381 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 4 Oct 2024 20:39:58 +0100 Subject: [PATCH] 7 --- backend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 02dec8a..c710096 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -3,8 +3,8 @@ FROM fascinated/docker-images:nodejs_20_with_pnpm AS base # Install dependencies and build the app FROM base AS builder WORKDIR /app -COPY ./backend/package.json* ./backend/pnpm-lock.yaml* ./ -RUN pnpm install --frozen-lockfile --quiet +COPY package.json* pnpm-lock.yaml* ./ +RUN pnpm install --frozen-lockfile --quiet --filter backend COPY ./backend . RUN pnpm run build