Files
Trakt-Rater/Dockerfile
dev 26808fc2b0
Some checks failed
Docker / docker (push) Failing after 26s
Initial commit
Interface web pour noter rapidement les films non notés sur Trakt.
Enrichissement TMDB (titres/résumés FR), notation 1-10 en un clic,
bouton passer, filtres, tri, pagination.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 13:33:58 +00:00

20 lines
409 B
Docker

FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY main.py trakt.py tmdb.py ./
COPY static/ ./static/
ENV TRAKT_CLIENT_ID=""
ENV TRAKT_CLIENT_SECRET=""
ENV TRAKT_REDIRECT_URI="http://localhost:8000/auth/callback"
ENV TMDB_API_KEY=""
ENV SECRET_KEY="change-me"
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]