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.
21 lines
211 B
21 lines
211 B
3 years ago
|
Raw
|
||
|
Permalink
|
||
|
Blame
|
||
|
History
|
||
|
|
||
|
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
|