Changes to Docker to start server

This commit is contained in:
Deon George
2021-06-24 20:36:27 +10:00
parent d1ca78d372
commit ff32ed1025
2 changed files with 10 additions and 0 deletions

View File

@@ -7,4 +7,8 @@ RUN mkdir /var/www/.composer \
&& touch .composer.refresh \
&& mv .env.example .env \
&& FORCE_PERMS=1 /sbin/init \
&& chmod +x /var/www/html/artisan /var/www/html/init-php.sh \
&& touch .migrate \
&& rm -rf /var/www/.composer/*
ENTRYPOINT [ "/var/www/html/init-php.sh" ]