Files
paypoint-frontend/Dockerfile
veenm 6b72efe9d0
Some checks failed
Docker Image CI / build-and-push (push) Successful in 55s
Docker Image CI / deploy (push) Failing after 29s
git actions fix
2025-03-11 23:42:15 +01:00

23 lines
434 B
Docker

# Gebruik een multi-architecture versie van Node
FROM node:23.0.0 as build
WORKDIR /app
COPY package*.json ./
RUN npm install
RUN npm install -g @angular/cli
COPY . .
RUN ng build --configuration=production
# Gebruik een multi-architecture versie van Nginx
FROM nginx:latest
# Kopieer de gecompileerde bestanden van Angular naar de Nginx-webserver
COPY --from=build app/dist/pay-point/browser /usr/share/nginx/html
EXPOSE 80