Update: I’m not sure if this is the best way to do it but it helped me get the job done, so I’ll leave it here in case someone finds it useful.
To install plug-ins in Strapi v4 using Docker with MySQL:
- stop your strapi docker container
- cd into you strapi app’s root directory and run
npm install strapi-plugin-name - build the image
docker build -t my-strapi-app:latest . - build the containers
docker-compose up -d