Skip to content

nicodocker91/composer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Docker image for composer

Simple usage

To run composer, do:

docker run --rm --user $(id -u):$(id -g) -it --volume ${COMPOSER_JSON_LOCATION}:/var/www --volume /tmp/.composer-cache:/tmp/.composer nicodocker91/composer <composer-command>

Volumes

The volumes availables to mount are /var and /tmp/.composer. The first one is related to the workdir. The second one is for the cache of composer.

It is strongly encouraged to mount a local common volume dedicated to your composer cache, such as /tmp/.composer-cache.

The entrypoint is /var/www.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published