sathish2352 commited on
Commit
56fd01a
·
verified ·
1 Parent(s): 32fcd45

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -5
Dockerfile CHANGED
@@ -1,7 +1,11 @@
1
- FROM python:3.10-slim
2
- WORKDIR /app
 
 
 
3
  COPY requirements.txt .
4
  RUN pip install --no-cache-dir -r requirements.txt
5
- COPY app/ app/
6
- EXPOSE 8000
7
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
 
 
1
+ # Dockerfile
2
+ FROM python:3.9
3
+
4
+ WORKDIR /code
5
+
6
  COPY requirements.txt .
7
  RUN pip install --no-cache-dir -r requirements.txt
8
+
9
+ COPY app.py .
10
+
11
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]