Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -11,7 +11,7 @@ WORKDIR /app
|
|
| 11 |
|
| 12 |
# Receive Git URL from build argument
|
| 13 |
RUN --mount=type=secret,id=URL,mode=0444,required=true \
|
| 14 |
-
git clone https://
|
| 15 |
|
| 16 |
# Set up virtual environment and dependencies
|
| 17 |
RUN python -m venv shared_venv && \
|
|
@@ -21,4 +21,4 @@ RUN python -m venv shared_venv && \
|
|
| 21 |
shared_venv/bin/python -m pip list > /app/pip_list.txt
|
| 22 |
|
| 23 |
EXPOSE 7860
|
| 24 |
-
CMD ["shared_venv/bin/python", "-m", "uvicorn", "
|
|
|
|
| 11 |
|
| 12 |
# Receive Git URL from build argument
|
| 13 |
RUN --mount=type=secret,id=URL,mode=0444,required=true \
|
| 14 |
+
git clone https://github.com/viratxd/deepseek2api.git .
|
| 15 |
|
| 16 |
# Set up virtual environment and dependencies
|
| 17 |
RUN python -m venv shared_venv && \
|
|
|
|
| 21 |
shared_venv/bin/python -m pip list > /app/pip_list.txt
|
| 22 |
|
| 23 |
EXPOSE 7860
|
| 24 |
+
CMD ["shared_venv/bin/python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|