update php and improve docker docs

This commit is contained in:
throwaway 2024-03-22 00:34:50 -07:00
parent 55a093925f
commit 4afec792c4
3 changed files with 137 additions and 33 deletions

View file

@ -2,7 +2,7 @@ FROM alpine:latest
WORKDIR /var/www/html/4get
RUN apk update && apk upgrade
RUN apk add php apache2-ssl php82-fileinfo php82-openssl php82-iconv php82-common php82-dom php82-curl curl php82-pecl-apcu php82-apache2 imagemagick php82-pecl-imagick php-mbstring imagemagick-webp imagemagick-jpeg
RUN apk add php apache2-ssl php83-fileinfo php83-openssl php83-iconv php83-common php83-dom php83-curl curl php83-pecl-apcu php83-apache2 imagemagick php83-pecl-imagick php-mbstring imagemagick-webp imagemagick-jpeg
COPY ./docker/apache/ /etc/apache2/
COPY . .
@ -12,4 +12,6 @@ RUN chmod 777 /var/www/html/4get/icons
EXPOSE 80
EXPOSE 443
ENV FOURGET_PROTO=http
CMD ["./docker/docker-entrypoint.sh"]