Skip to content

Commit

Permalink
feature: improve this render yaml file especially on client services
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-byiringiro committed Dec 19, 2024
1 parent 272c71a commit 789945a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,16 @@ services:
plan: free
region: frankfurt
branch: main
rootDir: client
buildCommand: >
cd ../shared && npm install && npm run build && cd ../client &&
npm ci && cd shared && npm install && npm run build && cd ../client &&
npm install --save-dev @types/react-transition-group @types/react @types/react-dom &&
npm install vite @vitejs/plugin-react &&
npm install vite @vitejs/plugin-react &&
SKIP_PREFLIGHT_CHECK=true npm run build
startCommand: cd ../ && npm install && npm run start
startCommand: cd client && npm run serve
envVars:
- key: VITE_API_URL
value: https://votefusion-api.onrender.com
- key: PORT
value: 10000
- key: NODE_ENV
value: production
- key: NODE_ENV
value: development

0 comments on commit 789945a

Please sign in to comment.