AurelioAguirre commited on
Commit
c626b90
·
1 Parent(s): cade06f

trying uvicorn style in Dockerfile

Browse files
Files changed (1) hide show
  1. 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 ["python", "-m", "main.app"]
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"]