change docker file

This commit is contained in:
Tizian.Breuch
2025-10-09 12:23:31 +02:00
parent 6754a037b5
commit 06b3382335

View File

@@ -7,9 +7,3 @@ COPY . .
# Ersetze 'frontend', falls dein Projekt in angular.json anders heißt! # Ersetze 'frontend', falls dein Projekt in angular.json anders heißt!
RUN npm run build -- --configuration production RUN npm run build -- --configuration production
# ----- Stage 2: Serven der Anwendung mit Nginx -----
FROM nginx:stable-alpine
# Ersetze 'frontend', falls dein Projekt in angular.json anders heißt!
COPY --from=build /app/dist/frontend /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80