Files
docker-lemp/phpfpm/Dockerfile
Brad Cimbura 1294e672fb Enhance database management scripts and update configurations
- Added importdb and importinv scripts for database import functionality.
- Improved dumpdb script for better error handling and output management.
- Updated .gitignore to include CSV files.
- Changed phpfpm service to use bash instead of ash.
- Modified docker-compose.yml to expose Redis and adjust Nginx port.
- Updated OpenSSL configuration for improved security settings.
2026-02-05 15:51:03 -06:00

22 lines
583 B
Docker

FROM php:8.3-fpm-bookworm
# Add the installer for PHP extensions
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
# Install dependencies for building OpenSSL
RUN apt-get update && apt-get install -y \
curl \
build-essential \
checkinstall \
zlib1g-dev \
vim
# Install PHP extensions
RUN install-php-extensions mysqli pdo_mysql sqlsrv pdo_sqlsrv redis
# Clean up unnecessary files
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
COPY openssl.cnf /etc/ssl/openssl.cnf