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

21 行
405 B

  1. # INSTALL
  2. FROM node:18-alpine as builder
  3. WORKDIR /app
  4. COPY . .
  5. RUN npm ci && npm cache clean --force
  6. ADD . .
  7. # BUILD
  8. RUN npm run build
  9. # PROD
  10. FROM node:18-alpine
  11. RUN apk add vips nano
  12. WORKDIR /app
  13. COPY --from=builder /app/.output /app/.output
  14. COPY --from=builder /app/.nuxt /app/.nuxt
  15. COPY --from=builder /app/.env /app/.env
  16. ENV HOST 0.0.0.0
  17. EXPOSE 3000
  18. CMD source .env && node .output/server/index.mjs