| FROM continuumio/miniconda3 |
|
|
| WORKDIR /home/app |
|
|
| |
| RUN apt-get update && apt-get install -y \ |
| unzip \ |
| curl \ |
| && apt-get clean && rm -rf /var/lib/apt/lists/* |
|
|
| |
| RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ |
| && unzip awscliv2.zip \ |
| && ./aws/install \ |
| && rm -rf awscliv2.zip ./aws |
|
|
| |
| COPY requirements.txt . |
| RUN pip install --no-cache-dir -r requirements.txt |
|
|
| |
| EXPOSE 7860 |
|
|
| |
| CMD ["sh", "-c", "mlflow server --host 0.0.0.0 --port 7860 --backend-store-uri $BACKEND_STORE_URI --default-artifact-root $ARTIFACT_STORE_URI"] |