podcast-generator/Dockerfile
Jake Walker 8f4f50ec89
All checks were successful
ci/woodpecker/push/build Pipeline was successful
update container run command
2025-01-10 13:34:31 +00:00

16 lines
326 B
Docker

FROM python:alpine
WORKDIR /opt
COPY pyproject.toml uv.lock /opt/
RUN apk add --update --no-cache ffmpeg \
&& pip install --root-user-action ignore uv \
&& uv sync --frozen
COPY . /opt
ENV PG_DIRECTORY=/work
ENV PG_UPLOADS_DIRECTORY=/uploads
CMD ["uv", "run", "fastapi", "run", "/opt/main.py", "--port", "8000"]