Add new file
This commit is contained in:
parent
3520a2dd2a
commit
b8e7e339d0
16
Dockerfile
Normal file
16
Dockerfile
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user