mv-ng-typeahead/Dockerfile
Flo d3f0b5c568
All checks were successful
Preview Deploy / preview (push) Successful in 9s
ci: add deploy related config
2026-11-01 21:49:38 +01:00

16 lines
382 B
Docker

# 1) Build-Stage: Angular app bauen
FROM node:26-bookworm-slim AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build -- --configuration production
# 2) Runtime-Stage: statische Files mit nginx ausliefern
FROM nginx:alpine
# Hier dein tatsächlicher Output-Path aus dem Build:
COPY --from=build /app/dist/mv-ng-typeahead/browser /usr/share/nginx/html