Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -22,5 +22,8 @@ WORKDIR $HOME/app/deepseek2api
|
|
22 |
# Install dependencies
|
23 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
24 |
|
25 |
-
#
|
26 |
-
|
|
|
|
|
|
|
|
22 |
# Install dependencies
|
23 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
24 |
|
25 |
+
# Expose the desired port
|
26 |
+
EXPOSE 7860
|
27 |
+
|
28 |
+
# Run the application using Uvicorn on port 7860 and listen on 0.0.0.0
|
29 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|