generated from Phil/vue3template
11 lines
No EOL
230 B
Docker
11 lines
No EOL
230 B
Docker
FROM node:alpine as builder
|
|
WORKDIR /src
|
|
|
|
RUN npm install
|
|
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/ |