danpoar commited on
Commit
48ba65b
·
verified ·
1 Parent(s): 2327ddb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -9
Dockerfile CHANGED
@@ -1,12 +1,10 @@
1
- # Use Argilla's official image
2
- FROM argilla/argilla:latest
3
 
4
- # Environment variables for Argilla:
5
- ENV ARGILLA_LOCAL_AUTH_ENABLED=true
6
- ENV ARGILLA_LOCAL_AUTH_PASSWORD=1234
7
- ENV ARGILLA_SERVER_HOST=0.0.0.0
8
- ENV ARGILLA_SERVER_PORT=6900
9
 
10
- EXPOSE 6900
 
11
 
12
- CMD ["argilla", "run", "--host", "0.0.0.0", "--port", "6900"]
 
 
1
+ FROM argilla/argilla-hf-spaces:v2.6.0
 
2
 
3
+ # Copy the auth config section
4
+ COPY .oauth.yaml /home/argilla/
 
 
 
5
 
6
+ # Comment this line to disable annotation progress sharing feature
7
+ ENV ARGILLA_ENABLE_SHARE_YOUR_PROGRESS=1
8
 
9
+ # Uncoment this line to remove the persistence storage warning
10
+ #ENV ARGILLA_SHOW_HUGGINGFACE_SPACE_PERSISTENT_STORAGE_WARNING=false