https://github.com/codibly/docker-php-composer
https://github.com/codibly/docker-php-composer
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codibly/docker-php-composer
- Owner: codibly
- Created: 2020-07-16T10:03:10.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-16T10:16:14.000Z (almost 5 years ago)
- Last Synced: 2025-02-15T15:51:50.696Z (4 months ago)
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP Composer with NPM
Based on: https://github.com/prooph/docker-files
## Usage
Add to the `.zshrc`
```
function composer () {
tty=
tty -s && tty=--ttydocker run \
$tty \
--interactive \
--rm \
--volume /etc/passwd:/etc/passwd:ro \
--volume /etc/group:/etc/group:ro \
--volume $(pwd):/app \
codibly/composer "$@"
}
```License: MIT