Spaces:
Sleeping
Sleeping
File size: 516 Bytes
45a9dfd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | services:
# Backend API
- type: web
name: shottool-api
runtime: docker
dockerfilePath: ./backend/Dockerfile
dockerContext: ./backend
plan: free
healthCheckPath: /api/health
# Frontend
- type: web
name: shottool-web
runtime: static
buildCommand: cd frontend && npm ci && VITE_API_URL=https://shottool-api.onrender.com npm run build
staticPublishPath: ./frontend/dist
plan: free
routes:
- type: rewrite
source: /*
destination: /index.html
|