This repository contains Dockerfile of nginx, php and npm in ubuntu.
These instructions will get you to build php service with nginx in your docker. See Installation for notes on how to build your ubuntu on a live system.
http://your_server_ip:8080/info.php or http://your_server_ip:8080 in your browser of choice, after running up the Usage.docker run -itd --name php -v {your directory}:/var/www/html -p 8080:80 bananabb/phpnpm) to bind mount your working directory.docker pull bananabb/php:latest
docker run -itd --name php -p 8080:80 bananabb/php
docker exec -it php /bin/bash
nginx -t
php -v
composer -V
node -v
npm --version
/etc/init.d/nginx reload
/etc/init.d/php8.3-fpm restart
/laravel.sh in docker containerMIT © BananaBb
Content type
Image
Digest
sha256:7011845c0…
Size
604.2 MB
Last updated
almost 2 years ago
docker pull bananabb/phpnpm