Spaces:
Running
Running
Commit
•
8860385
1
Parent(s):
a7a2235
Update Dockerfile
Browse files- Dockerfile +23 -2
Dockerfile
CHANGED
@@ -1,9 +1,30 @@
|
|
1 |
-
FROM
|
|
|
|
|
2 |
|
3 |
# Copy the auth config section
|
4 |
COPY .oauth.yaml /home/argilla/
|
5 |
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
# Uncomment the next section to keep backward compatibility with previous versions
|
8 |
## Following variables are used for backward compatibility with the previous security setup for the quickstart image
|
9 |
#ENV ADMIN_USERNAME="team"
|
|
|
1 |
+
FROM argilladev/argilla-hf-spaces:pr-5313
|
2 |
+
#FROM argilla/argilla-quickstart:releases-v1.29.1
|
3 |
+
|
4 |
|
5 |
# Copy the auth config section
|
6 |
COPY .oauth.yaml /home/argilla/
|
7 |
|
8 |
+
COPY log_config.yaml /home/argilla/
|
9 |
+
|
10 |
+
#ENV UVICORN_WORKERS=5
|
11 |
+
ENV UVICORN_LOOP=uvloop
|
12 |
+
ENV UVICORN_HTTP=httptools
|
13 |
+
ENV UVICORN_LIFESPAN=on
|
14 |
+
ENV UVICORN_BACKLOG=1024
|
15 |
+
ENV UVICORN_LIMIT_CONCURRENCY=2048
|
16 |
+
#ENV UVICORN_TIMEOUT_KEEP_ALIVE=1
|
17 |
+
#ENV UVICORN_TIMEOUT_GRACEFUL_SHUTDOWN=5
|
18 |
+
ENV UVICORN_LOG_CONFIG=/home/argilla/log_config.yaml
|
19 |
+
|
20 |
+
|
21 |
+
# old
|
22 |
+
#FROM argilla/argilla-quickstart:v1.29.0
|
23 |
+
|
24 |
+
# Copy the auth config section
|
25 |
+
#COPY .oauth.yaml /home/argilla/
|
26 |
+
|
27 |
+
#ENV OAUTH_ID=""
|
28 |
# Uncomment the next section to keep backward compatibility with previous versions
|
29 |
## Following variables are used for backward compatibility with the previous security setup for the quickstart image
|
30 |
#ENV ADMIN_USERNAME="team"
|