Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
-
FROM python:3.
|
5 |
|
6 |
# Set up a new user named "user" with user ID 1000
|
7 |
RUN useradd -m -u 1000 user
|
@@ -30,5 +30,5 @@ RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
|
|
30 |
EXPOSE 4000
|
31 |
|
32 |
ENTRYPOINT ["litellm"]
|
33 |
-
CMD ["--port", "4000", "--config", "./config.yaml", "--num_workers", "1"]
|
34 |
#ENTRYPOINT ["litellm", "--config", "config.yaml", "--port", "4000", "--num_workers", "1", "--run_gunicorn"]
|
|
|
1 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
+
FROM python:3.9
|
5 |
|
6 |
# Set up a new user named "user" with user ID 1000
|
7 |
RUN useradd -m -u 1000 user
|
|
|
30 |
EXPOSE 4000
|
31 |
|
32 |
ENTRYPOINT ["litellm"]
|
33 |
+
CMD ["--port", "4000", "--config", "./config.yaml", "--num_workers", "1", "--telemetry", "False"]
|
34 |
#ENTRYPOINT ["litellm", "--config", "config.yaml", "--port", "4000", "--num_workers", "1", "--run_gunicorn"]
|