Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update Dockerfile
Browse files- Dockerfile +4 -14
Dockerfile
CHANGED
|
@@ -1,23 +1,13 @@
|
|
| 1 |
-
FROM
|
| 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 |
-
#
|
| 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 |
|
|
|
|
| 1 |
+
FROM argilla/argilla-hf-spaces:v2.0.0
|
|
|
|
|
|
|
| 2 |
|
| 3 |
# Copy the auth config section
|
| 4 |
COPY .oauth.yaml /home/argilla/
|
| 5 |
|
| 6 |
+
# Uncoment this line to remove the persistence storage warning
|
| 7 |
+
#ENV ARGILLA_SHOW_HUGGINGFACE_SPACE_PERSISTENT_STORAGE_WARNING=false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
|
| 10 |
+
# ----------------------------------------------------------------------
|
| 11 |
# old
|
| 12 |
#FROM argilla/argilla-quickstart:v1.29.0
|
| 13 |
|