Download Dockerfile from Mythus/comet: direct link, hf CLI and curl.
- Browser
- Download file 612 Bytes
-
https://huggingface.co/spaces/Mythus/comet/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Mythus/comet/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Mythus/comet/resolve/main/Dockerfile
612 Bytes
| FROM python:3.11 | |
| LABEL name="Comet" \ | |
| description="Stremio's fastest torrent/debrid search add-on." \ | |
| url="https://github.com/g0ldyy/comet" | |
| # This is to prevent Python from buffering stdout and stderr | |
| ENV PYTHONUNBUFFERED=1 | |
| # Install Poetry | |
| RUN pip install poetry | |
| ENV POETRY_NO_INTERACTION=1 \ | |
| POETRY_VIRTUALENVS_IN_PROJECT=1 \ | |
| POETRY_VIRTUALENVS_CREATE=1 \ | |
| POETRY_CACHE_DIR=/tmp/poetry_cache | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy the application code | |
| COPY . ./ | |
| RUN poetry install --no-root | |
| ENV VIRTUAL_ENV=/app/.venv | |
| ENV PATH="/app/.venv/bin:$PATH" | |
| CMD ["python", "run.py"] |