banao-tech commited on
Commit
8572c92
·
verified ·
1 Parent(s): 843e9f5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  # Use the correct Hugging Face container
2
  FROM registry.hf.space/microsoft-omniparser:latest
3
 
 
1
+ ARG HF_TOKEN
2
+ ARG HF_USERNAME
3
+
4
+ RUN echo "$HF_TOKEN" | docker login registry.huggingface.co -u $HF_USERNAME --password-stdin
5
+
6
  # Use the correct Hugging Face container
7
  FROM registry.hf.space/microsoft-omniparser:latest
8