|
|
@ -22,4 +22,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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
USER deploy |
|
|
|
CMD ["httpd-foreground"] |
|
|
|
CMD ["httpd-foreground"] |