|
|
@ -39,5 +39,14 @@ RUN chmod u+x /usr/local/bin/httpd-foreground |
|
|
|
#RUN chown -R deploy:deploy /run/apache2/ |
|
|
|
#RUN chown -R deploy:deploy /run/apache2/ |
|
|
|
#RUN chown -R deploy:deploy /var/log/apache2/ |
|
|
|
#RUN chown -R deploy:deploy /var/log/apache2/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ENV APACHE_PID_FILE=/var/run/apache2/apache2.pid |
|
|
|
|
|
|
|
ENV APACHE_LOCK_DIR=/var/lock/apache2 |
|
|
|
|
|
|
|
ENV APACHE_LOG_DIR=/var/log/apache2 |
|
|
|
|
|
|
|
ENV APACHE_RUN_DIR=/var/run/apache2 |
|
|
|
|
|
|
|
ENV APACHE_RUN_USER=www-data |
|
|
|
|
|
|
|
ENV APACHE_RUN_GROUP=www-data |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#USER deploy |
|
|
|
#USER deploy |
|
|
|
CMD ["httpd-foreground"] |
|
|
|
CMD ["httpd-foreground"] |