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

12 lines
No EOL
233 B
Docker

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