bsny commited on
Commit
c41dab3
·
verified ·
1 Parent(s): 5ae73e5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -8
Dockerfile CHANGED
@@ -1,17 +1,10 @@
1
  FROM python:3.10-slim
2
 
3
- # Set working directory
4
  WORKDIR /app
5
 
6
- # Copy files
7
  COPY requirements.txt .
8
- COPY app.py .
9
-
10
- # Install dependencies
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
- # Expose FastAPI app on port 7860
14
- EXPOSE 7860
15
 
16
- # Run the app
17
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
  FROM python:3.10-slim
2
 
 
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
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]