strapi / strapi-docker

Install and run your first Strapi project using Docker
https://strapi.io
MIT License
1.17k stars 445 forks source link

Strapi working directory is created under root user #238

Closed baranelitez closed 4 years ago

baranelitez commented 4 years ago

Hi. When I run the strapi image, and it creates a working directory next to the docker-compose.yml, the directory for the CMS is owned by 'root'. Is this intended?

Also: https://github.com/strapi/strapi-docker/issues/107 has been automatically closed due to a new version coming out. Though i'm not sure if what's mentioned there is the same problem. Thanks!

alexandrebodin commented 4 years ago

Hello, In a recent release we moved the /srv/app folder to be owned by the user node. Depending on how you are working with the images I'm not sure what to answer here. Is this causing any issue for you ?

alexandrebodin commented 4 years ago

Closing as this was fixed in the latest release

baranelitez commented 3 years ago

this is still an issue. Just pulling the image strapi/strapi and running it creates the CMS folder belonging to the root user and the root group.