Dockerfile aktualisiert
Deploy Standortpruefung / deploy (push) Successful in 12s Details

This commit is contained in:
gitea-enwelo-jba 2026-04-27 12:02:44 +00:00
parent 35d3640668
commit 1080b8c8d1
1 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,5 @@
# Nutze Node.js als Basis (LTS Version)
FROM node:20-alpine AS build
WORKDIR /app
# Kopiere package files und installiere Abhängigkeiten
@ -24,9 +23,8 @@ RUN npm install --production
# Kopiere das gebaute Frontend und das Backend
COPY --from=build /app/dist ./dist
COPY --from=build /app/server.cjs ./
COPY --from=build /app/public ./public
# Die Zeile mit /app/public wurde entfernt, da Vite dies bereits in /dist integriert hat
# Der Express-Server läuft auf Port 3000
EXPOSE 3000
CMD ["node", "server.cjs"]