pictshare (latest)
Published 2023-03-20 21:28:22 +01:00 by christian
Installation
docker pull gitea.haschek.at/christian/pictshare:latest
sha256:2f54260ad1b5a6021e1233c6de36f552b211ee27b652fca0b6b507fc1d133c02
Image Layers
ADD file:aad4290d27580cc1a094ffaf98c3ca2fc5d699fe695dfb8e6e9fac20f1129450 in / |
CMD ["/bin/sh"] |
RUN /bin/sh -c apk add --no-cache bash socat wget curl nginx file ffmpeg unzip php7-fileinfo php7-session zlib php php-curl php-openssl php-mbstring php-json php-gd php-dom php-fpm php7 php7-pdo php7-exif php7-mcrypt php7-curl php7-gd php7-json php7-phar php7-fpm php7-openssl php7-ctype php7-opcache php7-mbstring php7-sodium php7-xml php7-ftp php7-simplexml php7-session php7-fileinfo php7-pcntl # buildkit |
RUN /bin/sh -c curl -sS https://getcomposer.org/installer | /usr/bin/php -- --install-dir=/usr/bin --filename=composer # buildkit |
RUN /bin/sh -c mkdir -p /var/www # buildkit |
WORKDIR /var/www |
ADD . /var/www/. # buildkit |
ADD docker/rootfs/start.sh /etc/start.sh # buildkit |
RUN /bin/sh -c chmod +x /etc/start.sh # buildkit |
ADD docker/rootfs/nginx.conf /etc/nginx/http.d/default.conf # buildkit |
RUN /bin/sh -c mkdir -p /run/nginx # buildkit |
RUN /bin/sh -c mkdir -p /var/log/nginx # buildkit |
RUN /bin/sh -c sed -i 's/nobody/nginx/g' /etc/php7/php-fpm.d/www.conf # buildkit |
RUN /bin/sh -c sed -i "/max_execution_time/c\max_execution_time=3600" /etc/php7/php.ini # buildkit |
RUN /bin/sh -c sed -i "/max_input_time/c\max_input_time=3600" /etc/php7/php.ini # buildkit |
WORKDIR /var/www/ |
VOLUME [/var/www/data] |
EXPOSE map[80/tcp:{}] |
ENTRYPOINT ["/etc/start.sh"] |