diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b012134 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM php:apache + +RUN apt-get update && apt-get install -y \ + libfreetype6-dev \ + libjpeg62-turbo-dev \ + libpng12-dev \ + wget \ + zip \ + unzip; \ + # We install and enable php-gd + docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/; \ + docker-php-ext-install -j$(nproc) gd; \ + + # We enable Apache's mod_rewrite + a2enmod rewrite + +COPY . .