This is a Dockerfile for PHP 7 with nginx, composer, nodejs
docker pull macellantr/php-nginx:latest
To simply run the container:
docker run -d -p 8080:80 --name php-nginx macellantr/php-nginx:latest
Then you can hit http://localhost:8080 or http://host-ip:8080 in your browser
To run the container with volume:
Defualt webroot => WEBROOT=/var/www/html
docker run -d -p 8080:80 --name php-nginx -v /your/content/path:/var/www/html macellantr/php-nginx:latest
Change php-nginx
if you changed it.
docker exec -it php-nginx bash
Edit the Dockerfile or other conf you want then build your image
docker build -t macellantr/php-nginx:[YOUR_TAG] .
Use following command to obfuscate your PHP file
php /opt/obfuscator/obfuscator.php YOUR_FILE_ABSOLUTE_PATH