How can I change the path to deploy

Hi! I am a junior developer and this is the fisrt time I try to deploy my nodejs app.
I am looking for how I can change the path of the directory, I tried moving all the files out of the “API” folder, and works!. However, I want to know how to deploy with all the files inside the “API” folder.

Thanks for your help

Screenshot 2022-05-10 183508

Hi there, you can use the normal cd command to change the directory for your build and start commands, so you could chain them, eg cd api; npm install type thing and then make sure your start command is doing the same.

John B

1 Like

Sorry, where I can set that?

in the settings for the service, the build command box