RustRover cargo-generate template: Axum + Vue 3 + TypeScript + Tailwind + sqlx
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
425 B

  1. FROM node:22-bookworm-slim AS builder
  2. WORKDIR /app
  3. COPY apps/web/package.json apps/web/package-lock.json* ./apps/web/
  4. COPY config ./config
  5. COPY packages/contracts ./packages/contracts
  6. COPY scripts ./scripts
  7. WORKDIR /app/apps/web
  8. RUN npm install
  9. COPY apps/web ./
  10. RUN npm run build
  11. FROM nginx:1.27-alpine
  12. COPY infra/docker/nginx.conf /etc/nginx/conf.d/default.conf
  13. COPY --from=builder /app/apps/web/dist /usr/share/nginx/html