Browse Source

running httpd-foreground as deploy user

main
Holger Frey 3 years ago
parent
commit
5e46dc3235
  1. 3
      Dockerfile

3
Dockerfile

@ -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"]
Loading…
Cancel
Save