php-fpm with nginx using runit
178
PHP packed together with nginx using runint.
Create a Dockerfile in your PHP project
FROM gabihodoroaga/php-nginx:7.3-fpm-alpine
ARG source=/html
# copy sources
COPY $source /var/www/html
Run the commands to build and run the Docker image:
docker build -t my-php-app .
docker run -it --rm --name my-running-app my-php-app
Content type
Image
Digest
Size
51 MB
Last updated
over 5 years ago
docker pull gabihodoroaga/php-nginx:7.3-fpm-alpine