diff --git a/Dockerfile b/Dockerfile index 48e8200..de9b2df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,3 @@ COPY . . # Ersetze 'frontend', falls dein Projekt in angular.json anders heißt! 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 \ No newline at end of file