Spaces:
Sleeping
Sleeping
Download Dockerfile from ericjedha/fraud-detection: direct link, hf CLI and curl.
- Browser
- Download file 727 Bytes
-
https://huggingface.co/spaces/ericjedha/fraud-detection/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ericjedha/fraud-detection/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ericjedha/fraud-detection/resolve/main/Dockerfile
727 Bytes
| FROM continuumio/miniconda3 | |
| WORKDIR /home/app | |
| RUN apt-get update | |
| RUN apt-get install nano unzip | |
| RUN apt install curl -y | |
| 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 | |
| ENV AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID | |
| ENV AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY | |
| ENV BACKEND_STORE_URI=$BACKEND_STORE_URI | |
| ENV ARTIFACT_STORE_URI=$ARTIFACT_STORE_URI_FP | |
| CMD mlflow server -p $PORT \ | |
| --host 0.0.0.0 \ | |
| --backend-store-uri $BACKEND_STORE_URI_FP \ | |
| --default-artifact-root $ARTIFACT_STORE_URI |