Initializing the backend in production #1177
-
First Check
Commit to Help
Example Code
DescriptionI'm struggling to understand the sequence of commands in backend dockerfile the Dockerfile runs however `COPY ./app /app/app takes place till the end here . How is unicorn being executed without the app? does this mean CMD at the end of I see that however I can't understand how does Operating SystemmacOS Operating System Detailsdocker Python Version3.9 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
In current implementation, there is a command defined in in
And for development, this command is overridden in
So, in production, the command defined in |
Beta Was this translation helpful? Give feedback.
In current implementation, there is a command defined in in
.Dockerfile
:And for development, this command is overridden in
docker-compose.override.yml
:So, in production, the command defined in
.Dockerfile
is used