SQL代码生成器
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021
  1. FROM node:18-buster-slim as builder
  2. COPY package.json ./
  3. RUN npm install && mkdir /app && mv ./node_modules /app
  4. WORKDIR /app
  5. COPY . .
  6. RUN npm run build
  7. FROM nginx:1.21.6-alpine AS runtime-image
  8. COPY nginx/default.conf /etc/nginx/conf.d/
  9. RUN rm -rf /usr/share/nginx/html/*
  10. COPY --from=builder /app/dist /usr/share/nginx/html
  11. CMD ["nginx", "-g", "daemon off;"]