mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
460d7ec3eb
Without looking at the php:apache image, it is unclear what the destination of the COPY command is
18 lines
449 B
Docker
18 lines
449 B
Docker
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 . /var/www/html
|