tstech1 commited on
Commit
82f8e04
·
verified ·
1 Parent(s): 589d4eb

Update Dockerfile

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