Move entrypoint to /usr/local/bin (#104)

* Move entrypoint to /usr/local/bin

 - so that it's not served by the webserver
This commit is contained in:
Markus Opolka
2021-11-25 07:56:11 +01:00
committed by GitHub
parent 19a1a0d044
commit 19a387488a
8 changed files with 14 additions and 14 deletions

View File

@@ -75,8 +75,8 @@ RUN set -ex; \
chown -R www-data:www-data /var/www/html /etc/apache2
WORKDIR /var/www/html
COPY entrypoint.sh entrypoint.sh
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
COPY vhosts-access-log.conf /etc/apache2/conf-enabled/other-vhosts-access-log.conf
USER $USER
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["apache2-foreground"]