fix: declare runtime image arg in dockerfile

This commit is contained in:
2025-11-01 17:08:21 +01:00
parent 6bf6bf4cbe
commit 225c7c43f9

View File

@@ -1,5 +1,7 @@
# Production Dockerfile - Multi-Stage Build # Production Dockerfile - Multi-Stage Build
ARG RUNTIME_IMAGE=runtime-base
# Stage: Composer Dependencies (Production) # Stage: Composer Dependencies (Production)
FROM php:8.5.0RC3-fpm AS composer-deps-production FROM php:8.5.0RC3-fpm AS composer-deps-production
@@ -103,7 +105,6 @@ RUN echo "apc.enable_cli=1" >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
# Stage: Production Runtime # Stage: Production Runtime
ARG RUNTIME_IMAGE=runtime-base
FROM ${RUNTIME_IMAGE} AS production FROM ${RUNTIME_IMAGE} AS production
# Set working directory # Set working directory