PrivateBin/Dockerfile
Felix Breidenstein 43d48ae2df Dockerfile: Remove empty line in RUN command
This will throw errors in future Docker versions
2018-02-20 11:11:12 +01:00

17 lines
446 B
Docker

FROM php:apache
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-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 . /var/www/html