scipious commited on
Commit
2586e45
·
verified ·
1 Parent(s): eb64c89

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -8
Dockerfile CHANGED
@@ -1,8 +1,12 @@
1
- FROM python:3.11-slim
2
- WORKDIR /app
3
- RUN apt-get update && apt-get install -y gcc g++ && rm -rf /var/lib/apt/lists/*
4
- COPY requirements.txt .
5
- RUN pip install --no-cache-dir -r requirements.txt
6
- COPY . .
7
- EXPOSE 7860
8
- CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--worker-class", "eventlet", "--workers", "1", "app:socketio"]
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+ WORKDIR /app
3
+ RUN apt-get update && apt-get install -y gcc g++ && rm -rf /var/lib/apt/lists/*
4
+ COPY requirements.txt .
5
+ RUN pip install --no-cache-dir -r requirements.txt
6
+ COPY . .
7
+ EXPOSE 7860
8
+ CMD ["gunicorn", "--bind", "0.0.0.0:7860", \
9
+ "--worker-class", "eventlet", \
10
+ "--workers", "1", \
11
+ "--timeout", "120", \
12
+ "app:app"]