MoritzLaurer HF staff commited on
Commit
7b378bf
·
verified ·
1 Parent(s): 5ca6ced

Update start_server.sh

Browse files
Files changed (1) hide show
  1. start_server.sh +3 -0
start_server.sh CHANGED
@@ -1,7 +1,10 @@
1
  #!/bin/bash
2
 
 
3
  mkdir -p /data/mlruns
 
4
 
 
5
  mlflow server \
6
  --host 0.0.0.0 \
7
  --port 7860 \
 
1
  #!/bin/bash
2
 
3
+ # Ensure the /data directory exists and has proper permissions
4
  mkdir -p /data/mlruns
5
+ chmod -R 777 /data
6
 
7
+ # Start the MLflow server
8
  mlflow server \
9
  --host 0.0.0.0 \
10
  --port 7860 \