yusufgundogdu commited on
Commit
a2f7d06
·
verified ·
1 Parent(s): df4a83c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -1,12 +1,12 @@
1
- FROM python:3.9-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
- EXPOSE 8080
11
 
12
- CMD ["gunicorn", "--bind", "0.0.0.0:8080", "--timeout", "600", "app:app"]
 
1
+ FROM python:3.10-slim
2
 
3
+ WORKDIR /code
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 ["python", "app.py"]