prestashop-docker-compose icon indicating copy to clipboard operation
prestashop-docker-compose copied to clipboard

Fix for prestashop container building

Open achref-riahi opened this issue 5 years ago • 1 comments

Hi,

if you noticed that the prestashop container building crash at "usermod -u 1000 www-data" i solved this problem by removing the last two lines #RUN usermod -u 1000 www-data #RUN chown 1000 /var/www -R

and i added RUN chmod 755 /var/www/html to solve folder rights issue :)

achref-riahi avatar Oct 31 '20 21:10 achref-riahi

What does the log output? The best thing would be to get the uid automatically from the host via docker-compose.yml, and add to the dockerfile as a build parameter.

devnix avatar Nov 03 '20 09:11 devnix