Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shuttle1987/pip-tools-docker

Create a docker container to run pip-tools inside
https://github.com/shuttle1987/pip-tools-docker

Last synced: 2 days ago
JSON representation

Create a docker container to run pip-tools inside

Awesome Lists containing this project

README

        

# pip-tools-docker

Create a Docker container with pip-tools installed.

Sometimes if you are developing projects using Docker containers you might have a different Python version on your machine compared to the Python version for your project. This Dockerfile is an example of a build for the purposes of using [pip-tools](https://pypi.org/project/pip-tools/) from within a Docker container.

## Build the image

Run this command

```bash
$ docker build -t pip-tools .
```

## Usage

```
docker run --rm -w /app -v $(pwd):/app pip-tools pip-compile requirements.in --output-file requirements-3.12.txt
```