Change Dockerfile

This commit is contained in:
LordMathis 2023-11-29 22:24:22 +01:00
parent 99e2357b36
commit 5433233dcd
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,5 @@
FROM ghcr.io/mlflow/mlflow:v2.7.0
RUN pip install psycopg2-binary boto3
FROM python:3.10-slim
COPY requirements.txt .
RUN pip install -r requirements.txt
EXPOSE 5000
ENTRYPOINT ["mlflow", "server"]

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
mlflow==2.7.0
psycopg2-binary==2.9.9
boto3==1.33.3