Dockerfile 206 B

12345678910
  1. FROM node:alpine AS base
  2. # Copy project file
  3. COPY . .
  4. # Build project
  5. RUN npm i && npm run generate
  6. FROM nginx:latest
  7. COPY nginx.conf /etc/nginx/
  8. COPY --from=base dist /var/www/p.seec.seecoder.cn/public/