From 6a9fa57b7f2bc35dc563a4325ba3f226e60b8e46 Mon Sep 17 00:00:00 2001 From: Lucas EVARD Date: Fri, 25 Nov 2022 19:06:44 +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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9bb6a7c..97d8f98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ 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/ -COPY ./Sources/Data /sql/ FROM mysql -RUN mysql -u db_user -p db_database > /sql/tablewithgeneratedid.sql \ No newline at end of file +COPY ./Sources/Data /sql/ +RUN ls -a /sql/ +RUN cd /sql/ +RUN mysql -u db_user -p db_database > tablewithgeneratedid.sql \ No newline at end of file