pradelf commited on
Commit
76ba804
·
1 Parent(s): 90ec1ea

Add CORS support and default artifact root to MLflow server command

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -46,6 +46,7 @@ RUN pip install -r /requirements.txt
46
  # type of server
47
  CMD mlflow server -p $PORT \
48
  --host 0.0.0.0 \
 
49
  --backend-store-uri $BACKEND_STORE_URI \
50
  --default-artifact-root $ARTIFACT_STORE_URI \
51
  --cors-allowed-origins "*"
 
46
  # type of server
47
  CMD mlflow server -p $PORT \
48
  --host 0.0.0.0 \
49
+ --allowed-hosts "*" \
50
  --backend-store-uri $BACKEND_STORE_URI \
51
  --default-artifact-root $ARTIFACT_STORE_URI \
52
  --cors-allowed-origins "*"