High memory usage react app
Anonymous
TRIALOP

2 years ago

Hey, im brand new to webhosting and have deployed a fullstack app. However my react app uses 8-900mb of ram, which makes my costs go up. I litterally have no idea what im doing, just thought it would be fun to try to deploy my project. So I think it might be running in development mode. How do I fix that? I don't have my own dockerfile, however I have this as custom build command:

CI=false npm run build

and this as Custom Start Command:
npx serve -s build

anything else I have to do?

Here is my scripts in pacakage.json:
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
projectid; 4346feb7-f200-4cce-9371-d690bab3bf41

1 Replies

Anonymous
TRIALOP

2 years ago

N/A


Loading...