FROM node:13-alpine AS build WORKDIR /app COPY package.json yarn.lock config-overrides.js ./ RUN yarn install COPY tsconfig.json ./ COPY public public/ COPY src src/ RUN yarn build FROM nginx:alpine WORKDIR /app COPY --from=build /app/build /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf CMD ["nginx", "-g", "daemon off;"]