Skip to content

Commit 74b0f73

Browse files
committed
Bump php version to 8.4
1 parent 148565a commit 74b0f73

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ The production image can be deployed to any Docker-compatible hosting environmen
191191

192192
## Technical Details
193193

194-
- **PHP**: Version **8.3 FPM** is used for optimal performance in both development and production environments.
194+
- **PHP**: Version **8.4 FPM** is used for optimal performance in both development and production environments.
195195
- **Node.js**: Version **22.x** is used in the development environment for building frontend assets with Vite.
196196
- **PostgreSQL**: Version **16** is used as the database in the examples, but you can adjust the configuration to use MySQL if preferred.
197197
- **Redis**: Used for caching and session management, integrated into both development and production environments.
@@ -246,4 +246,4 @@ git commit -m "Description of changes"
246246

247247
## License
248248

249-
This project is licensed under the MIT License. See the LICENSE file for more details.
249+
This project is licensed under the MIT License. See the LICENSE file for more details.

docker/common/php-fpm/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build environment and Composer dependencies
2-
FROM php:8.3-fpm AS builder
2+
FROM php:8.4-fpm AS builder
33

44
# Install system dependencies and PHP extensions required for Laravel + MySQL/PostgreSQL support
55
# Some dependencies are required for PHP extensions only in the build stage
@@ -27,7 +27,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2727
&& docker-php-ext-enable redis \
2828
&& apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
2929

30-
30+
3131
# Set the working directory inside the container
3232
WORKDIR /var/www
3333

@@ -39,9 +39,9 @@ WORKDIR /var/www
3939
# Artisan commands like `php artisan package:discover`. If the
4040
# application code (including the `artisan` file) is not
4141
# present, these commands will fail, leading to build errors.
42-
#
43-
# By copying the entire application code before running
44-
# `composer install`, we ensure that all necessary files are
42+
#
43+
# By copying the entire application code before running
44+
# `composer install`, we ensure that all necessary files are
4545
# available, allowing these scripts to run successfully.
4646
# In other cases, it would be possible to copy composer files
4747
# first, to leverage Docker's layer caching mechanism.
@@ -54,7 +54,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
5454

5555

5656
# Stage 2: Production environment
57-
FROM php:8.3-fpm AS production
57+
FROM php:8.4-fpm AS production
5858

5959
# Install only runtime libraries needed in production
6060
# libfcgi-bin and procps are required for the php-fpm-healthcheck script

docker/development/workspace/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# docker/development/workspace/Dockerfile
22
# Use the official PHP CLI image as the base
3-
FROM php:8.3-cli
3+
FROM php:8.4-cli
44

55
# Set environment variables for user and group ID
66
ARG UID=1000

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)