please work I am begging you
All checks were successful
/ docker (push) Successful in 44s

This commit is contained in:
Lee 2023-07-08 00:48:05 +01:00
parent 0f9c6789bf
commit 9109639908

View File

@ -3,15 +3,9 @@ FROM alpine:3.18.2
# Install dependencies
RUN apk update && \
apk upgrade && \
apk add --no-cache nginx php81 php81-fpm php81-pear php81-gd && \
apk add --no-cache nginx php81 php81-fpm php81-pecl-imagick && \
rm -rf /var/cache/apk/*
# Install Imagick
RUN apk add php82-pecl-imagick --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
RUN apk --update add imagemagick
RUN pecl install imagick && \
docker-php-ext-enable imagick
# Set up nginx
COPY ./docker/nginx.conf /etc/nginx/nginx.conf