antoinekrajnc commited on
Commit
b3f5b18
·
1 Parent(s): 156a3d9

simplify launch command for MLFLOW

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -6
Dockerfile CHANGED
@@ -15,9 +15,11 @@ RUN ./aws/install
15
  COPY requirements.txt /dependencies/requirements.txt
16
  RUN pip install -r /dependencies/requirements.txt
17
 
18
- CMD ["bash","-lc","mlflow server --host 0.0.0.0 --port ${PORT} \
19
- --backend-store-uri ${BACKEND_STORE_URI} \
20
- --default-artifact-root ${ARTIFACT_STORE_URI} \
21
- --serve-artifacts \
22
- --allowed-hosts ${MLFLOW_ALLOWED_HOSTS} \
23
- --cors-allowed-origins ${MLFLOW_CORS_ALLOWED_ORIGINS}"]
 
 
 
15
  COPY requirements.txt /dependencies/requirements.txt
16
  RUN pip install -r /dependencies/requirements.txt
17
 
18
+ CMD ["bash","-c","mlflow server \
19
+ --host 0.0.0.0 \
20
+ --port ${PORT} \
21
+ --backend-store-uri ${BACKEND_STORE_URI} \
22
+ --default-artifact-root ${ARTIFACT_STORE_URI} \
23
+ --serve-artifacts \
24
+ --allowed-hosts '*' \
25
+ --cors-allowed-origins '*' "]