From 7b7f0164a86408ce5af99b154f4a51fd0c605a5c Mon Sep 17 00:00:00 2001 From: Lucas EVARD Date: Fri, 25 Nov 2022 18:34:59 +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, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 02d098e..2d263b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ FROM php:8.1-apache RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable pdo_mysql -COPY ./Sources/API /var/www/html/ \ No newline at end of file +COPY ./Sources/API /var/www/html/ +RUN mysql -u db_user -p db_database > Sources/Data/tablewithgeneratedid.sql \ No newline at end of file