- PHP-FPM
- nginx
- php-oci8 plugin
- git
- composer
- phpunit
- supervisord
This image was pre-set to be used on laravel/lumen Nginx root is set to /app/public
docker run example:
docker run -p 80:80 --name php-oci8 \
-v /path/to/your/repo:/app \
-w /app \
-d tecnobit/docker-nginx-php7.4-oci
docker-compose example:
version: '3.5'
services:
php:
image: tecnobit/docker-nginx-php7.4-oci:latest
container_name: php
ports:
- '80:80'
volumes:
- /path/to/your/repo/:/app
then:
docker-compose up -d