Update Dockerfile
Browse files12345678910111213141516171819202122232425262728FROM python:3.11-alpineLABEL name="Comet" \description="Stremio's fastest torrent/debrid search add-on." \url="https://github.com/g0ldyy/comet"WORKDIR /appARG DATABASE_PATHENV PYTHONUNBUFFERED=1 \PYTHONDONTWRITEBYTECODE=1 \POETRY_NO_INTERACTION=1 \POETRY_HOME="/usr/local" \FORCE_COLOR=1 \TERM=xterm-256color# Fix python-alpine gccRUN apk add --no-cache \gcc \musl-dev \libffi-dev \makeRUN pip install poetryCOPY . .RUN poetry install --no-cache --no-root --without devENTRYPOINT ["poetry", "run", "python", "-m", "comet.main"]12345678910111213141516171819202122232425262728293031323334353637FROM python:3.11-alpineLABEL name="Comet" \description="Stremio's fastest torrent/debrid search add-on." \url="https://github.com/g0ldyy/comet"WORKDIR /appARG DATABASE_PATHENV PYTHONUNBUFFERED=1 \PYTHONDONTWRITEBYTECODE=1 \POETRY_NO_INTERACTION=1 \POETRY_HOME="/usr/local" \POETRY_CACHE_DIR="/app/.cache/pypoetry" \FORCE_COLOR=1 \TERM=xterm-256color# Fix python-alpine gccRUN apk add --no-cache \gcc \musl-dev \libffi-dev \make# Install PoetryRUN pip install poetry# Copy files into the containerCOPY . .# Install project dependencies without dev dependencies and without creating a virtual environmentRUN poetry config virtualenvs.create false && \poetry install --no-cache --no-root --without dev# Define the default entry pointENTRYPOINT ["poetry", "run", "python", "-m", "comet.main"]
Dockerfile+37-28