add php to the dockerfile

This commit is contained in:
Codex Agent
2025-11-15 15:31:53 +01:00
parent 0cf1703ca0
commit b928d2a68b

View File

@@ -9,6 +9,10 @@ ARG NODE_VERSION=20
FROM node:${NODE_VERSION}-bookworm AS node_builder
WORKDIR /var/www/html
# install PHP CLI for Wayfinder
RUN apt-get update \
&& apt-get install -y --no-install-recommends php-cli php-mbstring php-xml php-curl \
&& rm -rf /var/lib/apt/lists/*
COPY package.json package-lock.json ./
RUN npm ci --no-audit --prefer-offline