strapi-tool-dockerize
strapi-tool-dockerize copied to clipboard
How to run by separating the environments
I want to run both dev mode and prod mode.
Since I can select both in the env option when setting up the project, it seems that dockerize supports this.
However, docker compose yaml does not distinguish the env mode separately. How can I run the server in prod mode? Can I just change build: . in the compose file to build: prod.Dockerfile ?
I would really appreciate it if you could guide me on this.