Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -2,4 +2,8 @@ FROM snailyp/openai-compatible-balance
|
|
2 |
|
3 |
EXPOSE 8000
|
4 |
|
|
|
|
|
|
|
|
|
5 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
|
|
2 |
|
3 |
EXPOSE 8000
|
4 |
|
5 |
+
ENV BASE_URL=https://api.groq.com/openai/v1
|
6 |
+
ENV ALLOWED_TOKENS=["123456"]
|
7 |
+
ENV API_KEYS=["DDD"]
|
8 |
+
|
9 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|