Add new file

This commit is contained in:
Julien Cabillot 2017-10-31 13:22:54 +00:00
parent 3520a2dd2a
commit b8e7e339d0

16
Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM php:apache
RUN apt-get update && \
apt-get -y install libpng12-dev && \
docker-php-ext-install gd && \
apt-get clean all && \
a2enmod headers && \
rm -rf /usr/share/doc/* \
/var/cache/* \
/var/lib/apt/lists/*
COPY src/ /var/www/html/
RUN chown -R www-data:www-data /var/www/html/
HEALTHCHECK --interval=10s \
CMD curl --fail "http://localhost" || exit 1