fix errors

This commit is contained in:
danielvici123
2025-12-07 00:21:24 +01:00
parent 8f029e95d9
commit e0b08876e9

View File

@@ -5,13 +5,11 @@ RUN npm ci --only=production
COPY . .
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"]