Spaces:
Paused
Paused
Update Docker
Browse files
Docker
CHANGED
@@ -10,6 +10,10 @@ RUN pip install mlflow
|
|
10 |
# Expose the default MLflow port
|
11 |
EXPOSE 7860
|
12 |
|
|
|
|
|
|
|
|
|
13 |
# Ensure the /data directory exists
|
14 |
RUN mkdir -p /data/mlruns
|
15 |
|
@@ -17,6 +21,4 @@ RUN mkdir -p /data/mlruns
|
|
17 |
ENV MLFLOW_TRACKING_URI=file:///data/mlruns
|
18 |
|
19 |
# Command to run the MLflow server
|
20 |
-
CMD ["
|
21 |
-
"--backend-store-uri", "sqlite:////data/mlflow.db", \
|
22 |
-
"--default-artifact-root", "/data/mlruns"]
|
|
|
10 |
# Expose the default MLflow port
|
11 |
EXPOSE 7860
|
12 |
|
13 |
+
COPY start_server.sh .
|
14 |
+
|
15 |
+
RUN chmod +x start_server.sh
|
16 |
+
|
17 |
# Ensure the /data directory exists
|
18 |
RUN mkdir -p /data/mlruns
|
19 |
|
|
|
21 |
ENV MLFLOW_TRACKING_URI=file:///data/mlruns
|
22 |
|
23 |
# Command to run the MLflow server
|
24 |
+
CMD ["./app.sh"]
|
|
|
|