Skip to content

Commit 85e3eef

Browse files
committed
trying to get basic docker image to run
1 parent 44d94a5 commit 85e3eef

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

mlflow/docker-compose.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ services:
55
# The latest mlflow docker image
66
image: ghcr.io/mlflow/mlflow
77
ports:
8-
- "5002:5002"
9-
command: mlflow server --host 0.0.0.0 --port 5002
8+
- "5001:5001"
9+
command: mlflow server --host 0.0.0.0 --port 5001
1010
healthcheck:
11-
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5002/health')"]
11+
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5001/health')"]
1212
interval: 30s
1313
timeout: 10s
1414
retries: 3
@@ -18,11 +18,10 @@ services:
1818
context: .
1919
dockerfile: Dockerfile
2020
volumes:
21-
- ./:/mlflow # Mount code for live development
22-
- node_modules:/mlflow/node_modules # Keep node_modules in container
21+
- .:/mlflow # Mount code for live development
22+
- /mlflow/node_modules # Keep node_modules in container
2323
command: /bin/sh -c "while sleep 1000; do :; done" # Keep container running
2424
depends_on:
2525
mlflow:
2626
condition: service_healthy
27-
volumes:
28-
node_modules:
27+

0 commit comments

Comments
 (0)