- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphp
More file actions
Latest commit
6 lines (4 loc) · 295 Bytes
/
Copy pathphp
File metadata and controls
6 lines (4 loc) · 295 Bytes
1
2
3
4
5
6
#!/usr/bin/env bash
#This little script lives at /usr/local/bin/php
#It allows my IDE to use a containerized copy of PHP, mirroring my development environment.
docker run -i -p 8000:8000 --rm -v ${PWD}:${PWD} -v /tmp/:/tmp/ -w ${PWD} --sig-proxy=true --pid=host exozet/php-fpm:7.3-sudo php $@