From 01d6ef11cb2d47892d6abdefb3c95f1c6b95eb67 Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Thu, 19 Feb 2026 12:52:18 +0100 Subject: [PATCH] Updated Dockerfile --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 469700d..127e92b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,11 @@ -FROM node:20-alpine AS builder - +FROM node:20-slim AS builder WORKDIR /app -COPY package.json ./ +COPY package*.json ./ COPY pnpm-lock.yaml ./ +RUN npm install -g pnpm + RUN pnpm install COPY . . @@ -12,6 +13,6 @@ COPY . . RUN pnpm run build FROM nginx:alpine -COPY --from=builder /app/dist /usr/share/nginx/html +COPY --from=builder /app/build /usr/share/nginx/html EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]