10 lines
180 B
Docker
10 lines
180 B
Docker
|
FROM node:latest AS builder
|
||
|
WORKDIR /var/build/
|
||
|
COPY ./ /var/build/
|
||
|
RUN npm install
|
||
|
RUN npm run build
|
||
|
|
||
|
|
||
|
FROM nginx:alpine
|
||
|
COPY --from=builder /var/build/dist /usr/share/nginx/html
|