Download Dockerfile.worker from cryptorugmunch/rugmuncher-backend: direct link, hf CLI and curl.
- Browser
- Download file 280 Bytes
-
https://huggingface.co/cryptorugmunch/rugmuncher-backend/resolve/main/Dockerfile.worker
- Command line
-
hf download hf://cryptorugmunch/rugmuncher-backend/Dockerfile.worker
-
curl -L -o Dockerfile.worker https://huggingface.co/cryptorugmunch/rugmuncher-backend/resolve/main/Dockerfile.worker
280 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| gcc libpq-dev && \ | |
| rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| CMD ["python", "-u", "worker.py"] | |