Sujith2121 commited on
Commit
f384b4e
·
verified ·
1 Parent(s): 0560438

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -16
Dockerfile CHANGED
@@ -1,16 +1,17 @@
1
- # Use official Python image
2
- FROM python:3.10-slim
3
-
4
- WORKDIR /app
5
-
6
- # Install dependencies
7
- COPY requirements.txt .
8
- RUN pip install --no-cache-dir -r requirements.txt
9
-
10
- # Copy app and models
11
- COPY app.py .
12
- COPY models/ ./models/
13
-
14
- EXPOSE 8000
15
-
16
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
 
 
1
+ # Use official Python image
2
+ FROM python:3.10-slim
3
+
4
+ WORKDIR /app
5
+
6
+ # Install dependencies
7
+ COPY requirements.txt .
8
+ RUN pip install --no-cache-dir -r requirements.txt
9
+
10
+ # Copy app and models
11
+ COPY app.py .
12
+ COPY models/ ./models/
13
+
14
+ EXPOSE 8000
15
+
16
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
17
+