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.
 
 
 
 

10 lines
255 B

FROM node:14.13.0-alpine3.12 as builder
WORKDIR /usr/src/app
COPY ./package.json ./
RUN yarn
COPY ./ ./
RUN yarn build
#
FROM fholzer/nginx-brotli:v1.19.1
COPY ./nginx.conf /etc/nginx/nginx.conf
COPY --from=builder /usr/src/app/dist /usr/share/nginx/html