Inayatgaming commited on
Commit
6a2a614
·
verified ·
1 Parent(s): 4a4559f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -1
Dockerfile CHANGED
@@ -3,10 +3,18 @@ FROM python:3.12-slim
3
  WORKDIR /app
4
 
5
  COPY requirements.txt .
 
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
  COPY app.py .
9
 
10
  EXPOSE 7860
11
 
12
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
 
 
 
 
 
3
  WORKDIR /app
4
 
5
  COPY requirements.txt .
6
+
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
  COPY app.py .
10
 
11
  EXPOSE 7860
12
 
13
+ CMD [
14
+ "uvicorn",
15
+ "app:app",
16
+ "--host",
17
+ "0.0.0.0",
18
+ "--port",
19
+ "7860"
20
+ ]