Spaces:
Sleeping
Sleeping
Update Dockerfile
#6
by
SoulofSukuna
- opened
- Dockerfile +6 -1
Dockerfile
CHANGED
@@ -18,4 +18,9 @@ COPY . .
|
|
18 |
RUN pip3 install --upgrade pip setuptools
|
19 |
RUN pip3 install -r requirements.txt
|
20 |
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
18 |
RUN pip3 install --upgrade pip setuptools
|
19 |
RUN pip3 install -r requirements.txt
|
20 |
|
21 |
+
RUN chown -R 1000:0 .
|
22 |
+
RUN chmod 777 .
|
23 |
+
RUN chown -R 1000:0 /usr
|
24 |
+
RUN chmod 777 /usr
|
25 |
+
|
26 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|