This commit is contained in:
parent
2cbea618bd
commit
7c5b10da0b
@ -3,7 +3,6 @@ FROM alpine:3.20.3 AS builder
|
|||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
ARG NGINX_VERSION="1.27.1"
|
ARG NGINX_VERSION="1.27.1"
|
||||||
ARG PHP_VERSION="8.3"
|
|
||||||
|
|
||||||
# Install build dependencies and required tools
|
# Install build dependencies and required tools
|
||||||
RUN apk update && apk upgrade && \
|
RUN apk update && apk upgrade && \
|
||||||
@ -48,7 +47,7 @@ COPY --from=builder /tmp/public /tmp/public
|
|||||||
|
|
||||||
# Install runtime dependencies
|
# Install runtime dependencies
|
||||||
RUN apk update && apk upgrade && \
|
RUN apk update && apk upgrade && \
|
||||||
apk add --no-cache php81 php81-fpm php81-gd pcre
|
apk add --no-cache php83 php83-fpm php83-gd pcre
|
||||||
|
|
||||||
# Cleanup unnecessary files
|
# Cleanup unnecessary files
|
||||||
RUN rm -rf /var/cache/apk/*
|
RUN rm -rf /var/cache/apk/*
|
||||||
|
Loading…
Reference in New Issue
Block a user