Team Ai
Apppublic

fminaret/Package-algorithm-training

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes
Dockerfile34 linesDownload Raw Back to root
1FROM continuumio/miniconda32 3WORKDIR /home/app4 5RUN useradd -m mlflowuser6 7# Créer le répertoire artifacts avec les bonnes permissions8RUN mkdir -p /home/app/artifacts && \9    chown mlflowuser:mlflowuser /home/app/artifacts && \10    chmod 755 /home/app/artifacts11 12RUN apt-get update13RUN apt-get install nano unzip14RUN apt install curl -y15 16RUN curl -fsSL https://get.deta.dev/cli.sh | sh17 18RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"19RUN unzip awscliv2.zip20RUN ./aws/install21 22COPY requirements.txt /dependencies/requirements.txt23RUN pip install -r /dependencies/requirements.txt24 25ENV AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID26ENV AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY27ENV BACKEND_STORE_URI=$BACKEND_STORE_URI28ENV ARTIFACT_ROOT=$ARTIFACT_ROOT29 30CMD mlflow server -p $PORT \31    --host 0.0.0.0 \32    --backend-store-uri $BACKEND_STORE_URI \33    --default-artifact-root $ARTIFACT_ROOT34