MsChabane commited on
Commit
f11ffdb
·
verified ·
1 Parent(s): 2e72b37

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -16
Dockerfile CHANGED
@@ -1,17 +1,17 @@
1
- FROM python:3.10
2
-
3
-
4
- WORKDIR /app
5
-
6
- COPY . .
7
-
8
-
9
- RUN pip install --upgrade pip
10
- RUN pip install -r requirements.txt
11
-
12
-
13
-
14
-
15
- EXPOSE 7860
16
-
17
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ FROM python:3.10
2
+
3
+
4
+ WORKDIR /app
5
+
6
+ COPY . .
7
+
8
+
9
+ RUN pip install --upgrade pip
10
+ RUN pip install -r requirements.txt
11
+ RUN apt-get update && apt-get install -y libgl1
12
+
13
+
14
+
15
+ EXPOSE 7860
16
+
17
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]