From f4e437c7d1be9cdb5145d03c762fb227d0dd1baf Mon Sep 17 00:00:00 2001 From: dohodin Date: Thu, 16 Mar 2023 11:10:45 +0100 Subject: [PATCH] PHP apache to PHP Slim image docker --- Source/API/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/API/Dockerfile b/Source/API/Dockerfile index fe7f4ab..1a6fa67 100644 --- a/Source/API/Dockerfile +++ b/Source/API/Dockerfile @@ -1,7 +1,6 @@ -FROM php:8.1-apache +FROM shinsenter/slim:latest RUN apt-get update && 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 \ No newline at end of file