pragunk commited on
Commit
5f84a83
·
verified ·
1 Parent(s): 7954ab1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -12
Dockerfile CHANGED
@@ -1,12 +1,12 @@
1
- FROM python:3.10-slim
2
-
3
- WORKDIR /app
4
- COPY requirements.txt .
5
- RUN pip install --no-cache-dir -r requirements.txt
6
- COPY . .
7
-
8
- # Expose the standard Hugging Face Spaces port
9
- EXPOSE 7860
10
-
11
- # Run the FastAPI server
12
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /app
4
+ COPY requirements.txt .
5
+ RUN pip install --no-cache-dir -r requirements.txt
6
+ COPY . .
7
+
8
+ # Expose the standard Hugging Face Spaces port
9
+ EXPOSE 7860
10
+
11
+ # Run the FastAPI server
12
+ CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"]