From e0b08876e9a526cd7c2d1b305a95317ee0174214 Mon Sep 17 00:00:00 2001 From: danielvici123 Date: Sun, 7 Dec 2025 00:21:24 +0100 Subject: [PATCH] fix errors --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 790c73f..925c76f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,15 +3,13 @@ WORKDIR /app COPY package*.json ./ RUN npm ci --only=production COPY . . -RUN npm install +RUN npm install RUN npm run build -# Debug + Verify -RUN ls -la dist/ && ls -la dist/tools-website/ || echo "FEHLER: dist/tool-website nicht gefunden" +RUN ls -la dist/tools-website && ls -la dist/tools-website/browser FROM node:22-alpine WORKDIR /app RUN npm install -g serve@14 -# Explizit korrekten Pfad kopieren COPY --from=builder /app/dist/tools-website ./dist/tools-website EXPOSE 3000 -CMD ["serve", "-s", "dist/tools-website", "-l", "3000"] +CMD ["serve", "-s", "dist/tools-website/browser", "-l", "3000"]