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

@@ -62,6 +62,6 @@ RUN set -ex; \
EXPOSE 9000
WORKDIR /var/www/html
COPY entrypoint.sh entrypoint.sh
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["php-fpm"]