From f0bb87593f37177ce928d5d3856b76729eb5923c Mon Sep 17 00:00:00 2001 From: Lucas EVARD Date: Fri, 25 Nov 2022 19:14:20 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e8a6450..735cda1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ FROM php:8.1-apache +RUN apt-get update && apt-get install -y mysql-client RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable pdo_mysql COPY ./Sources/API /var/www/html/ -FROM mysql COPY ./Sources/Data /sql/ RUN cd /sql/ -RUN /etc/init.d/mysql start RUN mysql -u db_user -p db_database > tablewithgeneratedid.sql \ No newline at end of file