SQL代码生成器
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

Dockerfile 369 B

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;"]