Spaces:
Sleeping
Sleeping
Commit ·
b3f5b18
1
Parent(s): 156a3d9
simplify launch command for MLFLOW
Browse files- 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","-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
|
|
| 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 '*' "]
|