Sign inSign up

gabihodoroaga/php-nginx

By gabihodoroaga

•Updated over 5 years ago

php-fpm with nginx using runit

Image
1

178

gabihodoroaga/php-nginx repository overview

⁠PHP with Nginx image

PHP packed together with nginx using runint.

⁠How to use this image

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

Tag summary

Content type

Image

Digest

Size

51 MB

Last updated

over 5 years ago

docker pull gabihodoroaga/php-nginx:7.3-fpm-alpine