3f1da92cf4
YouTube subtitles via OpenRouter become persistent, shareable recaps with timestamp jump links, PIN-protected creation, and Traefik deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
361 B
Docker
18 lines
361 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
PYTHONUNBUFFERED=1
|
|
|
|
COPY pyproject.toml /app/pyproject.toml
|
|
COPY server /app/server
|
|
COPY tools /app/tools
|
|
RUN pip install --no-cache-dir -U pip && pip install --no-cache-dir .
|
|
|
|
COPY public /app/public
|
|
|
|
EXPOSE 8000
|
|
|
|
CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "8000"]
|