Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
FROM python:3.9
|
2 |
|
3 |
ARG G4F_API_KEY
|
|
|
4 |
|
5 |
RUN useradd -m -u 1000 user
|
6 |
WORKDIR /app
|
@@ -16,5 +17,6 @@ ENV HOME=/home/user \
|
|
16 |
PATH=/home/user/.local/bin:$PATH
|
17 |
|
18 |
ENV G4F_API_KEY $G4F_API_KEY
|
|
|
19 |
|
20 |
-
CMD python -m g4f --port 7860 --debug --g4f-api-key $G4F_API_KEY
|
|
|
1 |
FROM python:3.9
|
2 |
|
3 |
ARG G4F_API_KEY
|
4 |
+
ARG G4F_IGNORED_PROVIDERS
|
5 |
|
6 |
RUN useradd -m -u 1000 user
|
7 |
WORKDIR /app
|
|
|
17 |
PATH=/home/user/.local/bin:$PATH
|
18 |
|
19 |
ENV G4F_API_KEY $G4F_API_KEY
|
20 |
+
ENV G4F_IGNORED_PROVIDERS $G4F_IGNORED_PROVIDERS
|
21 |
|
22 |
+
CMD python -m g4f --port 7860 --debug --g4f-api-key $G4F_API_KEY --ignored-providers $G4F_IGNORED_PROVIDERS
|