Morgan Funtowicz
commited on
Commit
·
fb05b22
1
Parent(s):
922eee4
test(hfjobs): reexport build arg to env
Browse files- .hfjobs/Dockerfile +5 -0
.hfjobs/Dockerfile
CHANGED
@@ -5,6 +5,11 @@ ARG ENDPOINT_URL="http://host.docker.internal:8000"
|
|
5 |
ARG ENDPOINT_NUM_SAMPLES=50
|
6 |
ARG ENDPOINT_TEST_SEED=31415926
|
7 |
|
|
|
|
|
|
|
|
|
|
|
8 |
RUN --mount=type=bind,source=.hfjobs/requirements.txt,target=/opt/endpoint/tests/requirements.txt \
|
9 |
python -m pip install -r /opt/endpoint/tests/requirements.txt
|
10 |
|
|
|
5 |
ARG ENDPOINT_NUM_SAMPLES=50
|
6 |
ARG ENDPOINT_TEST_SEED=31415926
|
7 |
|
8 |
+
ENV ENDPOINT_API_KEY=$ENDPOINT_API_KEY
|
9 |
+
ENV ENDPOINT_URL=$ENDPOINT_URL
|
10 |
+
ENV ENDPOINT_NUM_SAMPLES=$ENDPOINT_NUM_SAMPLES
|
11 |
+
ENV ENDPOINT_TEST_SEED=$ENDPOINT_TEST_SEED
|
12 |
+
|
13 |
RUN --mount=type=bind,source=.hfjobs/requirements.txt,target=/opt/endpoint/tests/requirements.txt \
|
14 |
python -m pip install -r /opt/endpoint/tests/requirements.txt
|
15 |
|