This commit is contained in:
2025-06-03 15:31:25 +02:00
parent 7b1d56450b
commit 1551f6226e
4 changed files with 10 additions and 3 deletions

View File

@@ -2,4 +2,6 @@ FROM bitnami/laravel
COPY init_laravel.sh /scripts/init_laravel.sh
RUN chmod +x /scripts/init_laravel.sh
RUN chmod +x /scripts/init_laravel.sh
CMD composer i && php artisan serve --host=0.0.0.0 --port=8000

View File

@@ -1,3 +1,5 @@
CREATE DATABASE laravel_db;
CREATE USER laravel_user IDENTIFIED BY 'super_strong_password';
GRANT CREATE, ALTER, DROP, SELECT, INSERT, UPDATE, DELETE ON laravel_db.* TO laravel_user;