Reputation: 1824
I have backend which I deploy from CI build to production. For CI backend needs one config and for production it needs another config. I want to copy new config in production before docker will start my backend.
Upvotes: 0
Views: 178
Reputation: 501
I am not sure if i understand your question right, but maybe this can help you: https://docs.docker.com/engine/reference/builder/#run or this: https://docs.docker.com/engine/reference/builder/#copy
or this: Execute a script before CMD
Upvotes: 1