We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31f1eb3 commit 2c6fb8cCopy full SHA for 2c6fb8c
docker/dev/container/hooks/init/10_venv
@@ -11,16 +11,17 @@ function execute_hook() {
11
set -x
12
PIP="uv pip"
13
14
+ cd /opt/pycroft/app
15
if [[ ! $INFILE -nt $STAMPFILE ]]; then
16
echo "Lockfile did not change since last run. Nothing to do."
17
return
18
fi
19
20
echo "No pip packages found, installing requirements"
- cd /opt/pycroft/app
21
- ls $(uv cache dir)
22
- uv sync --locked
23
- $PIP install -e '.[dev]' -e './deps/wtforms-widgets'
+ ls "$(uv cache dir)" || true
+ uv venv "$VIRTUAL_ENV"
+ uv sync --active --locked
24
+ $PIP install -e . -e './deps/wtforms-widgets'
25
touch $STAMPFILE
26
}
27
0 commit comments