We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ba0a85 commit 89ec134Copy full SHA for 89ec134
render.yaml
@@ -1,4 +1,5 @@
1
services:
2
+ # === Backend (FastAPI + Docker) ===
3
- type: web
4
name: fat-eibl-backend
5
env: docker
@@ -16,10 +17,13 @@ services:
16
17
- key: EMAIL_FROM
18
value: [email protected]
19
- - type: static
20
+ # === Frontend (React + Vite build) ===
21
+ - type: web
22
name: fat-eibl-frontend
- buildCommand: npm run build
- publishPath: frontend/dist
23
+ env: node
24
+ plan: free
25
+ buildCommand: cd frontend && npm install && npm run build
26
+ startCommand: npx serve -s frontend/dist
27
envVars:
28
- key: VITE_API_URL
29
value: https://fat-eibl-backend.onrender.com
0 commit comments