|
|
@ -23,6 +23,7 @@ RUN sed -i.bak -r 's/(User|Group) apache/\1 deploy/' /etc/apache2/httpd.conf |
|
|
|
# copy the script to run httpd in foreground |
|
|
|
# copy the script to run httpd in foreground |
|
|
|
COPY httpd-foreground /usr/local/bin/ |
|
|
|
COPY httpd-foreground /usr/local/bin/ |
|
|
|
RUN chown deploy:deploy /usr/local/bin/httpd-foreground |
|
|
|
RUN chown deploy:deploy /usr/local/bin/httpd-foreground |
|
|
|
|
|
|
|
RUN chmod u+x /usr/local/bin/httpd-foreground |
|
|
|
|
|
|
|
|
|
|
|
# setup the right permissions for deploy user |
|
|
|
# setup the right permissions for deploy user |
|
|
|
RUN chown -R deploy:deploy /var/www/ |
|
|
|
RUN chown -R deploy:deploy /var/www/ |
|
|
|