Browse Source

chowend some dirs for deploy user

main
Holger Frey 3 years ago
parent
commit
3b2cf2accd
  1. 3
      Dockerfile

3
Dockerfile

@ -24,5 +24,8 @@ RUN sed -i.bak -r 's/(User|Group) apache/\1 deploy/' /etc/apache2/httpd.conf @@ -24,5 +24,8 @@ RUN sed -i.bak -r 's/(User|Group) apache/\1 deploy/' /etc/apache2/httpd.conf
COPY httpd-foreground /usr/local/bin/
RUN chown deploy:deploy /usr/local/bin/httpd-foreground
# setup the right permissions for deploy user
RUN chown -R deploy:deploy /var/www/
USER deploy
CMD ["httpd-foreground"]
Loading…
Cancel
Save