start.hackmi.ch/Dockerfile
Phil e04545ecb1
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Fixed Dockerfile
2024-10-21 18:49:30 +02:00

12 lines
No EOL
247 B
Docker

FROM node:latest as builder
RUN npm install
RUN npm run build
COPY dist/* /dist/
FROM nginx:stable-alpine-slim as production
RUN rm -rf /usr/share/nginx/html
RUN mkdir -p /usr/share/nginx/html
COPY --from=builder /dist/* /usr/share/nginx/html/