Skip to content

Commit 83a2cd1

Browse files
committed
Update Dockerfile
1 parent c26c363 commit 83a2cd1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM php:8.3-cli-alpine as builder
2+
FROM php:8.4-cli-alpine AS builder
33

44
RUN apk add --no-cache --virtual .build-deps autoconf build-base git \
55
&& pecl install -o -f redis \
@@ -12,12 +12,13 @@ RUN git clone --depth=1 https://github.com/RobiNN1/phpCacheAdmin.git . \
1212
&& apk del .build-deps
1313

1414
# Final stage
15-
FROM php:8.3-fpm-alpine
15+
FROM php:8.4-fpm-alpine
1616

1717
COPY --from=builder /usr/local/lib/php/extensions /usr/local/lib/php/extensions
1818
COPY --from=builder /usr/local/etc/php/conf.d /usr/local/etc/php/conf.d
1919
COPY --from=builder /app /var/www/html
2020

21+
# NGINX configuration is here intentionally
2122
RUN apk add --no-cache nginx \
2223
&& mkdir -p /var/www/html/tmp \
2324
&& chown -R nobody:nobody /var/www/html \

0 commit comments

Comments
 (0)