Spaces:
Sleeping
Sleeping
Commit
·
5478bd4
1
Parent(s):
a67367b
push
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -13,5 +13,7 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 14 |
RUN pip install --no-cache-dir openai-chatkit==1.4.0
|
| 15 |
|
|
|
|
|
|
|
| 16 |
COPY --chown=user . /app
|
| 17 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 14 |
RUN pip install --no-cache-dir openai-chatkit==1.4.0
|
| 15 |
|
| 16 |
+
RUN python -c "import os; print(os.getenv('GEMINI_API_KEY') or 'GEMINI_API_KEY not set')"
|
| 17 |
+
RUN python -c "import os; print(os.getenv('BETTER_AUTH_SECRET') or 'BETTER_AUTH_SECRET not set')"
|
| 18 |
COPY --chown=user . /app
|
| 19 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|