diff --git a/Dockerfile b/Dockerfile index 30590d3..17db27a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,5 @@ -FROM ghcr.io/mlflow/mlflow:v2.7.0 - -RUN pip install psycopg2-binary boto3 \ No newline at end of file +FROM python:3.10-slim +COPY requirements.txt . +RUN pip install -r requirements.txt +EXPOSE 5000 +ENTRYPOINT ["mlflow", "server"] \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..f7326d7 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +mlflow==2.7.0 +psycopg2-binary==2.9.9 +boto3==1.33.3 \ No newline at end of file