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.
Asked
Active
Viewed 167 times
0
-
ENTRYPOINT can do that. https://stackoverflow.com/questions/44631605/entrypoint-in-combination-with-cmd – philipp Jun 29 '17 at 13:48
1 Answers
1
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

Hannes
- 491
- 5
- 21