mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 06:56:15 +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 \
|
RUN chown -R www-data:www-data /var/www/html \
|
||||||
&& chmod -R 755 /var/www/html/storage /var/www/html/bootstrap/cache \
|
&& 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
|
# webserver
|
||||||
RUN rm /etc/nginx/sites-available/default
|
RUN rm /etc/nginx/sites-available/default
|
||||||
RUN rm /etc/nginx/sites-enabled/default
|
RUN rm /etc/nginx/sites-enabled/default
|
||||||
|
@ -50,6 +50,9 @@ if [ ! -f "$INIT_FLAG" ]; then
|
|||||||
# create sqlite database
|
# create sqlite database
|
||||||
touch /var/www/html/storage/database.sqlite
|
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
|
# create the flag file to indicate completion of initialization tasks
|
||||||
touch "$INIT_FLAG"
|
touch "$INIT_FLAG"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user