wip: Reordered Build Steps and added Dockerignore
continuous-integration/drone/push Build is failing Details

main
Flycro 2024-03-21 01:13:53 +01:00
parent 6330268d20
commit bffcd2f414
2 changed files with 4 additions and 1 deletions

3
.dockerignore Normal file
View File

@ -0,0 +1,3 @@
**/node_modules/
**/dist
.git

View File

@ -14,7 +14,6 @@ steps:
- cd /var/www/html/bookstack.octolabs.net
- composer install
- pnpm install
- pnpm run build
- chown -R flycro:www-data /var/www/html/bookstack.octolabs.net
- find /var/www/html/bookstack.octolabs.net -type f -exec chmod 664 {} \\;
- find /var/www/html/bookstack.octolabs.net -type d -exec chmod 775 {} \\;
@ -24,4 +23,5 @@ steps:
- docker compose exec php php artisan migrate --force
- docker compose exec php php artisan optimize
- docker compose exec php php artisan storage:link
- pnpm run build
- pm2 restart ecosystem.config.js