You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
407 B
16 lines
407 B
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
|