mirror of
https://github.com/batonogov/learn-devops.git
synced 2025-11-29 16:53:01 +00:00
* uv 0.5.14 * Update requirements --------- Co-authored-by: Fedor Batonogov <f.batonogov@yandex.ru>
20 lines
440 B
Makefile
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
|