diff --git a/.docker/hosts/abiball.conf b/.docker/hosts/abiball.conf new file mode 100644 index 0000000..022eb20 --- /dev/null +++ b/.docker/hosts/abiball.conf @@ -0,0 +1,14 @@ + + DocumentRoot /var/www/html/public + DirectoryIndex /index.php + + + AllowOverride All + + RewriteEngine On + + + + ErrorLog /var/log/apache2/project_error.log + CustomLog /var/log/apache2/project_access.log combined + \ No newline at end of file diff --git a/.gitignore b/.gitignore index a67f91e..008222e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ - +/.idea/ ###> symfony/framework-bundle ### /.env.local /.env.local.php diff --git a/Dockerfile b/Dockerfile index 8382afe..ae205c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,9 @@ COPY . /var/www/html/ RUN chown -R www-data:www-data /var/www/html +RUN rm /etc/apache2/sites-enabled/000-default.conf +COPY .docker/hosts/abiball.conf /etc/apache2/sites-enabled + RUN apt-get update \ && apt-get install -qq -y --no-install-recommends cron nano locales coreutils libicu-dev libpng-dev libxml2-dev libzip-dev libonig-dev libxslt-dev;