mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
fix docker
This commit is contained in:
@ -37,9 +37,6 @@ RUN composer install --no-dev
|
||||
RUN chown -R www-data:www-data /var/www/html \
|
||||
&& chmod -R 755 /var/www/html/storage /var/www/html/bootstrap/cache \
|
||||
|
||||
# install plugins
|
||||
RUN php /var/www/html/artisan plugins:install https://github.com/vitodeploy/laravel-octane-plugin
|
||||
|
||||
# webserver
|
||||
RUN rm /etc/nginx/sites-available/default
|
||||
RUN rm /etc/nginx/sites-enabled/default
|
||||
|
@ -50,6 +50,9 @@ if [ ! -f "$INIT_FLAG" ]; then
|
||||
# create sqlite database
|
||||
touch /var/www/html/storage/database.sqlite
|
||||
|
||||
# install default plugins
|
||||
php /var/www/html/artisan plugins:install https://github.com/vitodeploy/laravel-octane-plugin
|
||||
|
||||
# create the flag file to indicate completion of initialization tasks
|
||||
touch "$INIT_FLAG"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user