Files
ShopSolution-frontend/Dockerfile
2025-10-09 12:23:31 +02:00

10 lines
256 B
Docker

# ----- Stage 1: Build der Angular-Anwendung -----
FROM node:20-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
# Ersetze 'frontend', falls dein Projekt in angular.json anders heißt!
RUN npm run build -- --configuration production