Files
learn-devops/docker/uv/Makefile
github-actions[bot] 0c4f496270 uv 0.5.14 (#33)
* uv 0.5.14

* Update requirements

---------

Co-authored-by: Fedor Batonogov <f.batonogov@yandex.ru>
2025-01-03 09:41:36 +03:00

20 lines
440 B
Makefile

reqs:
rm ./requirements.txt || true
uv pip compile --generate-hashes pyproject.toml --output-file ./requirements.txt
venv:
uv venv --python 3.13
uv pip install --require-hashes --requirements ./requirements.txt
. .venv/bin/activate
build:
time docker build --no-cache --file Dockerfile -t uv .
docker images
build-pip:
time docker build --no-cache --file Dockerfile.pip -t pip .
docker images
outdated:
uv pip list --outdated