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.

15 lines
349 B

  1. FROM node:16
  2. WORKDIR /gva_web/
  3. COPY . .
  4. RUN yarn && yarn build
  5. FROM nginx:alpine
  6. LABEL MAINTAINER="SliverHorn@sliver_horn@qq.com"
  7. COPY .docker-compose/nginx/conf.d/my.conf /etc/nginx/conf.d/my.conf
  8. COPY --from=0 /gva_web/dist /usr/share/nginx/html
  9. RUN cat /etc/nginx/nginx.conf
  10. RUN cat /etc/nginx/conf.d/my.conf
  11. RUN ls -al /usr/share/nginx/html