Spaces:
Sleeping
Sleeping
Download Dockerfile from Thomas-L-debug/mlflow-server: direct link, hf CLI and curl.
- Browser
- Download file 735 Bytes
-
https://huggingface.co/spaces/Thomas-L-debug/mlflow-server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Thomas-L-debug/mlflow-server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Thomas-L-debug/mlflow-server/resolve/main/Dockerfile
735 Bytes
| FROM python:3.11-slim | |
| WORKDIR /home/app | |
| # Updated to include build-essential and libpq-dev | |
| RUN apt-get update && apt-get install -y \ | |
| curl \ | |
| unzip \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN curl -fsSL https://get.deta.dev/cli.sh | sh | |
| RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" | |
| RUN unzip awscliv2.zip | |
| RUN ./aws/install | |
| COPY requirements.txt /dependencies/requirements.txt | |
| RUN pip install -r /dependencies/requirements.txt | |
| CMD ["bash","-c","mlflow server \ | |
| --host 0.0.0.0 \ | |
| --port ${PORT} \ | |
| --backend-store-uri ${BACKEND_STORE_URI} \ | |
| --default-artifact-root ${ARTIFACT_STORE_URI} \ | |
| --serve-artifacts \ | |
| --allowed-hosts '*' \ | |
| --cors-allowed-origins '*' "] | |