Unable to change Start command between Staging Production environments
I have two environments, staging and production. I want staging and production to have different start commands. It seems if I change one from the other, it will override the other.
5 Replies
Project ID:
N/A
It is possible to have different start commands for staging and production environments, but you should create an additional environment before making any changes to ensure that the changes do not override each other.
⚠️ experimental feature
not sure how this helps
Hmm that’s odd, can you please send a screenshot of your environment setup?
So the way I solved it
Remove the text from "Start command" in the service settings
and then configure the NIXPACKS_START_CMD variable individually
this works for different services / environments