Download Dockerfile from mikmc/annatar: direct link, hf CLI and curl.
- Browser
- Download file 631 Bytes
-
https://huggingface.co/spaces/mikmc/annatar/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mikmc/annatar/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mikmc/annatar/resolve/main/Dockerfile
631 Bytes
| FROM python:3.11-alpine | |
| LABEL name="Comet" \ | |
| description="Stremio's fastest torrent/debrid search add-on." \ | |
| url="https://github.com/g0ldyy/comet" | |
| WORKDIR /app | |
| ARG DATABASE_PATH | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PYTHONDONTWRITEBYTECODE=1 \ | |
| POETRY_NO_INTERACTION=1 \ | |
| POETRY_HOME="/usr/local" \ | |
| FORCE_COLOR=1 \ | |
| TERM=xterm-256color | |
| # Fix python-alpine gcc | |
| RUN apk add --no-cache \ | |
| gcc \ | |
| musl-dev \ | |
| libffi-dev \ | |
| make | |
| RUN pip install poetry | |
| COPY . . | |
| RUN poetry install --no-cache --no-root --without dev | |
| ENTRYPOINT ["poetry", "run", "python", "-m", "comet.main"] | |