THED2 commited on
Commit
0c1917c
·
verified ·
1 Parent(s): bf51c9f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -5
Dockerfile CHANGED
@@ -1,6 +1,11 @@
1
- FROM python:3.11-slim
2
- WORKDIR /app
3
- COPY requirements.txt .
4
- RUN pip install -r requirements.txt
 
 
 
5
  COPY . .
6
- CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]
 
 
 
1
+ FROM python:3.9
2
+
3
+ WORKDIR /code
4
+
5
+ COPY ./requirements.txt /code/requirements.txt
6
+ RUN pip install --no-cache-dir -r requirements.txt
7
+
8
  COPY . .
9
+
10
+ # Flask માટે એન્ટ્રીપોઈન્ટ
11
+ CMD ["python", "app.py"]