From e59743eca519d553d6837bac209af10b34016e80 Mon Sep 17 00:00:00 2001 From: "dorian.hodin" Date: Fri, 10 Mar 2023 12:52:10 +0100 Subject: [PATCH] Dockerfile update --- Source/API/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/API/Dockerfile b/Source/API/Dockerfile index 4c915ac..f7c1b76 100644 --- a/Source/API/Dockerfile +++ b/Source/API/Dockerfile @@ -1,8 +1,9 @@ FROM php:8.1-apache RUN apt-get update && apt-get upgrade -y && apt-get install -y git RUN docker-php-ext-install pdo pdo_mysql -COPY ./script /var/www/html +#COPY ./script /var/www/html WORKDIR /var/www/html/Config RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN composer update && composer install +WORKDIR /var/www/html RUN php -S localhost:8888 blanc.php & \ No newline at end of file