Dockerized for dev purposes
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled

This commit is contained in:
2025-11-04 19:25:30 +10:00
parent ca4569cb8f
commit c0618ce3e4
7 changed files with 790 additions and 674 deletions

16
docker/php/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM php:8.4-fpm
RUN apt-get update && apt-get install -y \
git curl zip unzip libpq-dev \
&& docker-php-ext-install pdo pdo_pgsql
# Install Node.js 20.x
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y nodejs
# Install Composer globally
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
WORKDIR /var/www/html
CMD ["php-fpm"]