Merge 3f5dbdab33
into c7b48f1816
This commit is contained in:
commit
7a85d41dec
|
@ -1,5 +1,5 @@
|
||||||
# Stage 1: Build PHP app and install dependencies
|
# Stage 1: Build PHP app and install dependencies
|
||||||
FROM php:8.3.4 AS builder
|
FROM php:8.3.6 AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
|
||||||
RUN COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --optimize-autoloader
|
RUN COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --optimize-autoloader
|
||||||
|
|
||||||
# Stage 2: Serve the application using Apache PHP
|
# Stage 2: Serve the application using Apache PHP
|
||||||
FROM php:8.3.4-apache
|
FROM php:8.3.6-apache
|
||||||
|
|
||||||
# Copy the built PHP app from the builder stage
|
# Copy the built PHP app from the builder stage
|
||||||
COPY --from=builder /app /var/www/html
|
COPY --from=builder /app /var/www/html
|
||||||
|
|
Loading…
Reference in New Issue