marquesafonso
commited on
Commit
·
c29a16b
1
Parent(s):
f52fdd9
fix dockerfile user issue (5)
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -17,6 +17,6 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
17 |
# Make port 8000 available to the world outside this container
|
18 |
EXPOSE 7680
|
19 |
|
20 |
-
CMD ["uvicorn", "main:app", "--host", "
|
21 |
|
22 |
-
USER 1001
|
|
|
17 |
# Make port 8000 available to the world outside this container
|
18 |
EXPOSE 7680
|
19 |
|
20 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
21 |
|
22 |
+
USER 1001
|