work on dockerfile

This commit is contained in:
Xbird
2022-03-28 18:16:35 +02:00
parent ffe89fc63a
commit bfdb8f150d
3 changed files with 55 additions and 0 deletions

6
start.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
php bin/console doctrine:migrations:migrate --no-interaction
php bin/console cache:clear
a2enmod rewrite
chown www-data:www-data ./public/uploads
/usr/sbin/apachectl -D FOREGROUND