You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
180 B
16 lines
180 B
3 years ago
|
FROM node:16.7.0-alpine AS builder
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY package*.json ./
|
||
|
|
||
|
RUN yarn
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
RUN yarn build
|
||
|
|
||
|
|
||
|
FROM nginx:1.21.1
|
||
|
|
||
|
COPY --from=builder /app/dist /usr/share/nginx/html
|