Closed Download closed 2 years ago
Strapi/strapi is for local development. If you want to run strapi in production mode via docker you will need to create your own image using strapi/base and a Dockerfile. This dockerfile can be referenced in a docker-compose.yaml for ease of use
Looking at the README again I guess it actually says so on the tin. Thanks for your response 👍
If you want some examples on how to use strapi/base in production see the following folder: here
Defs a good place to start
Just looking at the code a bit to learn how to use this image, my eye got drawn towards this line:
strapi-docker/strapi/Dockerfile
Shouldn't this image start in production mode? For me it's unexpected that this would start it in development mode.