start.hackmi.ch/Dockerfile
Phil 459a45243a
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Added CI/Dockerfile
2024-10-21 18:44:28 +02:00

11 lines
No EOL
226 B
Docker

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