Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

7ws/docker-pip-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

python-nodejs

A Python image that includes pip-tools.

How to use

$ ls
source.in

$ docker run --rm -it -v $(pwd):/app emyller/pip-tools pip-compile --output-file requirements.txt source.in
(...)

$ ls
requirements.txt  source.in

Above, /app is the directory in the container where pip-tools will run by default. A file requirements.txt will be created or updated in your current directory, since pwd was bind-mounted.