From a86e9dbc5222a9a09dac823d8b1d015be315120a Mon Sep 17 00:00:00 2001 From: "dorian.hodin" Date: Fri, 10 Mar 2023 11:29:20 +0100 Subject: [PATCH] Modify Dockerfile --- Source/API/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/API/Dockerfile b/Source/API/Dockerfile index edcc08f..28396c3 100644 --- a/Source/API/Dockerfile +++ b/Source/API/Dockerfile @@ -1,7 +1,8 @@ FROM php:8.1-apache -RUN apt-get update && apt-get upgrade -y && apt-get install -y git +#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 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 +RUN php -S localhost:8888 index.php