chore: Update Dockerfiles, Makefile and documentation

- Updated Dockerfile.production
- Updated Makefile
- Updated deployment documentation
- Updated docker/ci/Dockerfile, docker/php/Dockerfile, docker/worker/Dockerfile
- Updated dependency scanning documentation
- Added git-hooks documentation
This commit is contained in:
2025-11-01 21:16:03 +01:00
parent e68d1917b0
commit a52142f304
8 changed files with 193 additions and 11 deletions

View File

@@ -1,9 +1,11 @@
# Production Dockerfile - Multi-Stage Build
ARG PHP_VERSION=8.5.0RC3
# Override via --build-arg PHP_VERSION=8.5.0RCX to track upstream releases
ARG RUNTIME_IMAGE=runtime-base
# Stage: Composer Dependencies (Production)
FROM php:8.5.0RC3-fpm AS composer-deps-production
FROM php:${PHP_VERSION}-fpm AS composer-deps-production
WORKDIR /app
@@ -53,7 +55,8 @@ COPY tsconfig.json ./
RUN npm run build
# Stage: Runtime Base Image (shared)
FROM php:8.5.0RC3-fpm AS runtime-base
ARG PHP_VERSION=8.5.0RC3
FROM php:${PHP_VERSION}-fpm AS runtime-base
# Install system dependencies + nginx for production
RUN apt-get update && apt-get install -y \