Download Dockerfile from ravitejas1596/fraud-pattern-detector: direct link, hf CLI and curl.
- Browser
- Download file 424 Bytes
-
https://huggingface.co/spaces/ravitejas1596/fraud-pattern-detector/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ravitejas1596/fraud-pattern-detector/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ravitejas1596/fraud-pattern-detector/resolve/main/Dockerfile
424 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| supervisor \ | |
| libgomp1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir -r /app/requirements.txt | |
| COPY . /app | |
| EXPOSE 7860 | |
| CMD ["supervisord", "-c", "/app/supervisord.conf"] | |