# Stage 1: Build FROM node:26-alpine AS build WORKDIR /app COPY package*.json ./ RUN npm ci COPY . . RUN npm run build -- --configuration production # Stage 2: Serve FROM nginx:alpine COPY --from=build /app/dist/WetterHub/browser /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80