This commit is contained in:
ivamp 2024-06-03 18:15:43 +08:00
parent 4c709fbc86
commit b2f00ead07
2 changed files with 6 additions and 1 deletions

View File

@ -20,4 +20,6 @@ RUN docker-php-ext-install gd && docker-php-ext-enable gd
RUN rm /usr/local/bin/install-php-extensions && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/{apt,dpkg,cache,log}/ && rm -rf /tmp/*
WORKDIR /var/www/html
WORKDIR /var/www/html
ENTRYPOINT [ "entrypoint.sh" ]

3
entrypoint.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
service cron start
exec apache2-foreground