Skip to content

Commit efc4b47

Browse files
author
Uttam Singh
committed
Fix render.yaml formatting
1 parent 32a833e commit efc4b47

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

render.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
services:
2+
# === Backend (FastAPI + Docker) ===
23
- type: web
34
name: fat-eibl-backend
45
env: docker
56
plan: free
67
repo: https://github.com/uttamadhikari30-sys/FAT-EIBL-V3
78
branch: main
89
dockerfilePath: backend/Dockerfile
9-
buildContext: backend
10+
buildContext: backend
1011
envVars:
1112
- key: DATABASE_URL
1213
value: postgresql://fatuser:fatpass@db:5432/fatdb
@@ -22,7 +23,10 @@ services:
2223
name: fat-eibl-frontend
2324
env: node
2425
plan: free
25-
buildCommand: cd frontend && npm install && npm run build
26+
buildCommand: |
27+
cd frontend
28+
npm install --legacy-peer-deps
29+
npm run build
2630
startCommand: npx serve -s frontend/dist
2731
envVars:
2832
- key: VITE_API_URL

0 commit comments

Comments
 (0)