From faca74dd4d6326a8bd218c85a51648b5459feca8 Mon Sep 17 00:00:00 2001 From: dohodin Date: Wed, 5 Jun 2024 11:24:13 +0200 Subject: [PATCH] resolving dockerfile error --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4500f6a..464da7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,12 +6,11 @@ COPY . /var/www/html WORKDIR /var/www/html RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -RUN composer install - +RUN composer install --no-scripts --no-interaction RUN a2enmod rewrite RUN a2enmod actions COPY ./vhost.conf /etc/apache2/sites-available/000-default.conf RUN service apache2 restart -ENTRYPOINT ["php","-S","0.0.0.0:80","-t","./public"] \ No newline at end of file +ENTRYPOINT ["php","-S","0.0.0.0:8383","-t","./public"]