Therdpoom commited on
Commit
da7b15a
·
verified ·
1 Parent(s): 9af256e

Update Dockerfile

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