FROM node:16-alpine as builder WORKDIR /app COPY . . RUN npm install # For production RUN npm run build FROM nginx:stable COPY nginx.conf /etc/nginx/conf.d/default.conf COPY --from=builder ./app/build /usr/share/nginx/html