Skip to content

Commit 7d1eff3

Browse files
evpeopleSoulter
andauthored
fix #5089: add uv lock step in Dockerfile before export (#5091)
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com>
1 parent e295c47 commit 7d1eff3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2222

2323
RUN python -m pip install uv \
2424
&& echo "3.12" > .python-version \
25-
&& uv export --format requirements.txt --output-file requirements.txt \
25+
&& uv lock \
26+
&& uv export --format requirements.txt --output-file requirements.txt --frozen \
2627
&& uv pip install -r requirements.txt --no-cache-dir --system \
2728
&& uv pip install socksio uv pilk --no-cache-dir --system
2829

0 commit comments

Comments
 (0)