mirror of
https://github.com/batonogov/learn-devops.git
synced 2025-11-29 08:43:01 +00:00
17 lines
405 B
Makefile
17 lines
405 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
|