Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for prestashop container building #7

Open
achref-riahi opened this issue Oct 31, 2020 · 1 comment
Open

Fix for prestashop container building #7

achref-riahi opened this issue Oct 31, 2020 · 1 comment

Comments

@achref-riahi
Copy link

achref-riahi commented Oct 31, 2020

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 :)

@devnix
Copy link
Owner

devnix commented Nov 3, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants