strapi-tool-dockerize icon indicating copy to clipboard operation
strapi-tool-dockerize copied to clipboard

How to run by separating the environments

Open hahamini opened this issue 11 months ago • 2 comments

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.

hahamini avatar Jan 02 '25 15:01 hahamini