Download Dockerfile from Emil25/mlops: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/spaces/Emil25/mlops/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Emil25/mlops/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Emil25/mlops/resolve/main/Dockerfile
352 Bytes
| FROM python:3.10 | |
| EXPOSE 8501 | |
| USER root | |
| WORKDIR /app | |
| COPY . . | |
| RUN chmod -R 777 /app | |
| RUN apt-get update && \ | |
| apt-get install -y python3-pip python3-venv | |
| RUN python3 -m venv /app/venv | |
| ENV PATH="/app/venv/bin:$PATH" | |
| RUN pip install --upgrade pip && \ | |
| pip install --no-cache-dir --upgrade -r /app/requirements.txt | |
| CMD streamlit run main.py |