From b6009ebba964143cf61a1f68d25a173ce15b25fa Mon Sep 17 00:00:00 2001 From: dohodin Date: Mon, 27 Mar 2023 16:28:54 +0200 Subject: [PATCH] Dockefile work fine, image created 5 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3ae5578..fd9ecbf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ FROM php:8.1-apache -RUN apt-get update && apt-get install -y git zip tree +RUN apt-get update && apt-get install -y git zip COPY . /var/www/html -RUN tree WORKDIR /var/www/html/Source/Config RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN composer update && composer install RUN a2enmod rewrite RUN a2enmod actions RUN service apache2 restart +WORKDIR /var/www/html +RUN ln -sf Source/index.php index.php