Skip to content

Commit adf0dc3

Browse files
committed
Fix env problem
1 parent 95324d3 commit adf0dc3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ FROM python:3.11-slim-bullseye AS runtime
2121

2222
# Environment variables
2323
ENV PATH="/opt/mlflow-venv/bin:$PATH" \
24+
JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 \
25+
PATH=$JAVA_HOME/bin:$PATH \
2426
MLFLOW_TRACKING_URI="http://mlflow-server:5000" \
2527
MLFLOW_S3_ENDPOINT_URL="http://minio:9000" \
2628
AWS_ACCESS_KEY_ID="minioadmin" \

0 commit comments

Comments
 (0)