feat: add pdo_mysql
This commit is contained in:
parent
1a9a31dfa1
commit
74dcaa3727
|
|
@ -18,6 +18,8 @@ FROM laravelsail/php84-composer
|
|||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
# 👉 Installation du driver MySQL pour PDO
|
||||
RUN docker-php-ext-install pdo_mysql
|
||||
# On récupère tout ce qui a été préparé dans l’étape build
|
||||
COPY --from=build /var/www/html /var/www/html
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ services:
|
|||
ports:
|
||||
- "8000:80" # API dispo sur http://IP_DU_SERVEUR:8000
|
||||
environment:
|
||||
APP_ENV: "production"
|
||||
APP_ENV: "${APP_ENV}"
|
||||
APP_KEY: "${APP_KEY}"
|
||||
APP_DEBUG: "false"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue