Explorar el Código

amended uvicorn log level to info

chenhaiyang hace 4 años
padre
commit
77a0fc817b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -14,4 +14,4 @@ COPY ./app /app/app
 
 ENV TZ=Asia/Shanghai
 
-CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8002"]
+CMD ["uvicorn", "app.main:app", "--log-level", "info", "--host", "0.0.0.0", "--port", "8002"]