SoulofSukuna commited on
Commit
e476f12
·
verified ·
1 Parent(s): 578df45

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -16
Dockerfile CHANGED
@@ -1,17 +1,18 @@
1
- FROM rendyprojects/python:latest
2
-
3
- WORKDIR /app/
4
-
5
- RUN apt -qq update
6
-
7
- COPY . .
8
-
9
- RUN pip3 install --upgrade pip setuptools
10
- RUN pip3 install -r requirements.txt
11
-
12
- RUN chown -R 1000:0 .
13
- RUN chmod 777 .
14
- RUN chown -R 1000:0 /usr
15
- RUN chmod 777 /usr
16
-
 
17
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ FROM rendyprojects/python:latest
2
+
3
+ WORKDIR /app/
4
+
5
+ RUN apt -qq update
6
+
7
+ COPY . .
8
+
9
+ RUN pip3 install cchardet --no-cache-dir
10
+ RUN pip3 install --upgrade pip setuptools
11
+ RUN pip3 install -r requirements.txt
12
+
13
+ RUN chown -R 1000:0 .
14
+ RUN chmod 777 .
15
+ RUN chown -R 1000:0 /usr
16
+ RUN chmod 777 /usr
17
+
18
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]