This commit is contained in:
parent
1213a7a4a0
commit
0f9c6789bf
@ -3,14 +3,14 @@ FROM alpine:3.18.2
|
|||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
apk upgrade && \
|
apk upgrade && \
|
||||||
apk add --no-cache nginx php81 php81-fpm php81-pear && \
|
apk add --no-cache nginx php81 php81-fpm php81-pear php81-gd && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
# Install Imagick
|
# Install Imagick
|
||||||
RUN apk add php82-pecl-imagick --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
|
RUN apk add php82-pecl-imagick --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
|
||||||
RUN apk --update add imagemagick
|
RUN apk --update add imagemagick
|
||||||
RUN pecl install imagick
|
RUN pecl install imagick && \
|
||||||
RUN docker-php-ext-enable imagick
|
docker-php-ext-enable imagick
|
||||||
|
|
||||||
# Set up nginx
|
# Set up nginx
|
||||||
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
|
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user