Spaces:
Paused
Paused
Commit
·
c626b90
1
Parent(s):
cade06f
trying uvicorn style in Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -17,5 +17,4 @@ COPY --chown=user main $HOME/app/main
|
|
17 |
# Expose the port your application runs on.
|
18 |
EXPOSE 7680
|
19 |
|
20 |
-
CMD ["
|
21 |
-
|
|
|
17 |
# Expose the port your application runs on.
|
18 |
EXPOSE 7680
|
19 |
|
20 |
+
CMD ["uvicorn", "main.app:app", "--host", "0.0.0.0", "--port", "8001", "--log-level", "info"]
|
|