1
0

Dockerfile 281 B

123456789101112131415
  1. FROM node:16 as build
  2. WORKDIR /app
  3. COPY . .
  4. RUN yarn --immutable
  5. RUN yarn atlas:build
  6. FROM nginx:stable as nginx
  7. WORKDIR /usr/app
  8. COPY --from=build /app/packages/atlas/dist /usr/share/nginx/html
  9. COPY ./ci/nginx /etc/nginx/templates
  10. EXPOSE 80
  11. CMD ["nginx", "-g", "daemon off;"]