Download dockerfile from mednow/ATS: direct link, hf CLI and curl.
- Browser
- Download file 455 Bytes
-
https://huggingface.co/spaces/mednow/ATS/resolve/main/dockerfile
- Command line
-
hf download hf://spaces/mednow/ATS/dockerfile
-
curl -L -o dockerfile https://huggingface.co/spaces/mednow/ATS/resolve/main/dockerfile
455 Bytes
| # Use a lightweight Python base image | |
| FROM python:3.9-slim | |
| # Set the working directory inside the container | |
| WORKDIR /app | |
| # Copy requirements file | |
| COPY requirements.txt . | |
| RUN python -m spacy download en_core_web_sm | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy your application code | |
| COPY . . | |
| # Expose the port Streamlit uses | |
| EXPOSE 8501 | |
| # Run the Streamlit app | |
| CMD ["streamlit", "run", "app.py"] |