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.
19 lines
573 B
19 lines
573 B
FROM "php:apache"
|
|
|
|
WORKDIR "/var/www"
|
|
RUN apt-get update && \
|
|
apt-get -y install libpng12-dev git && \
|
|
docker-php-ext-install gd && \
|
|
apt-get clean all && \
|
|
a2enmod headers && \
|
|
git clone "https://github.com/blueimp/jQuery-File-Upload.git" && \
|
|
rm -rf "/var/www/html" && \
|
|
ln -s "jQuery-File-Upload" "html" && \
|
|
rm -rf /usr/share/doc/* \
|
|
/var/cache/* \
|
|
/var/lib/apt/lists/*
|
|
|
|
RUN chown -R "www-data":"www-data" "/var/www/jQuery-File-Upload/"
|
|
|
|
HEALTHCHECK --interval=10s \
|
|
CMD curl --fail "http://localhost" || exit 1
|