Files
screw-bardo/Dockerfile
foreverpyrite 1fd6711da0 Modernized and simplified the app.
This wasn't a crazy rewrite or anything, I just updated it to the new
YouTube Transcript and OpenAI API's, as well as super simplifying the
code. On top of that, it now works single threaded, just using multiple
gunicorn threads for concurrency. It's a lot simplier and cleaner,
although not up to my current standards.
2025-11-03 22:43:15 -06:00

21 lines
479 B
Docker

# Use an official Python runtime as a parent image
FROM ghcr.io/astral-sh/uv:debian
# Set environment variables
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
# Set work directory
WORKDIR /app
# Copy application files
COPY ./app /app
# Copy the pyproject.toml and uv.lock because this project's structure is chopped
COPY ./pyproject.toml ./uv.lock /app
# Make start.sh executable
RUN chmod +x /app/start.sh
# Specify the entrypoint script
ENTRYPOINT ["/app/start.sh"]