Michael Rabinovich Cursor commited on
Commit ·
40dd166
1
Parent(s): 3e18d9a
docker: track cadgenbench @main instead of a pinned SHA
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
|
@@ -37,9 +37,11 @@ COPY requirements.txt /tmp/requirements.txt
|
|
| 37 |
RUN pip install --no-cache-dir -r /tmp/requirements.txt \
|
| 38 |
&& rm /tmp/requirements.txt
|
| 39 |
|
| 40 |
-
# cadgenbench from the Public GitHub repo
|
| 41 |
-
#
|
| 42 |
-
|
|
|
|
|
|
|
| 43 |
RUN pip install --no-cache-dir \
|
| 44 |
"cadgenbench @ git+https://github.com/huggingface/cadgenbench.git@${CADGENBENCH_SHA}"
|
| 45 |
|
|
|
|
| 37 |
RUN pip install --no-cache-dir -r /tmp/requirements.txt \
|
| 38 |
&& rm /tmp/requirements.txt
|
| 39 |
|
| 40 |
+
# cadgenbench from the Public GitHub repo. Defaults to `main` so every
|
| 41 |
+
# image rebuild picks up the latest code (pre-v1: always-updated). Lock
|
| 42 |
+
# to a specific commit SHA at the v1 release so published scores are
|
| 43 |
+
# reproducible (see space-setup/post-gt-swap.md Stage F).
|
| 44 |
+
ARG CADGENBENCH_SHA=main
|
| 45 |
RUN pip install --no-cache-dir \
|
| 46 |
"cadgenbench @ git+https://github.com/huggingface/cadgenbench.git@${CADGENBENCH_SHA}"
|
| 47 |
|