Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -28,8 +28,10 @@ ENTRYPOINT ["/bin/sh", "-c"]
|
|
28 |
# RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
|
29 |
# curl test -H 'Authorization: Bearer $(cat /run/secrets/HF_TOKEN)'
|
30 |
|
|
|
|
|
31 |
RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
|
32 |
-
python3
|
33 |
|
34 |
# have to run `aim init` in the directory that stores aim data for
|
35 |
# otherwise `aim up` will prompt for confirmation to create the directory itself.
|
|
|
28 |
# RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
|
29 |
# curl test -H 'Authorization: Bearer $(cat /run/secrets/HF_TOKEN)'
|
30 |
|
31 |
+
COPY download_aim.py .
|
32 |
+
|
33 |
RUN --mount=type=secret,id=HF_TOKEN,mode=0444,required=true \
|
34 |
+
python3 download_aim.py
|
35 |
|
36 |
# have to run `aim init` in the directory that stores aim data for
|
37 |
# otherwise `aim up` will prompt for confirmation to create the directory itself.
|