Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shuttle1987/pip-tools-docker
- Owner: shuttle1987
- License: mit
- Created: 2024-08-07T13:09:44.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-07T14:40:59.000Z (6 months ago)
- Last Synced: 2024-11-17T13:49:55.063Z (2 months ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```