From 8671f4e036210f0174e18e0db7715b48f2d7c48b Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 4 Oct 2024 20:54:27 +0100 Subject: [PATCH] smaller image --- backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index df02fba..d53b255 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,7 +1,7 @@ FROM fascinated/docker-images:nodejs_20_with_pnpm WORKDIR /app -COPY . . +COPY package.json pnpm-lock.yaml ./backend ./ RUN pnpm install --filter backend RUN pnpm run build:backend