docker-magento2 icon indicating copy to clipboard operation
docker-magento2 copied to clipboard

Improve permission handling

Open ju5t opened this issue 7 years ago • 1 comments
trafficstars

A chmod at the end of entrypoint.sh increases the startup time. It would be better to use COPY --chown and run every command in entrypoint.sh as the www-data-user.

ju5t avatar Mar 05 '18 11:03 ju5t

Most of the permissions can be solved by specifying USER www-data within the Dockerfile. This means we need a (sudo) solution for Apache. Apache binds on port 80.

ju5t avatar Mar 13 '18 13:03 ju5t