musik/Dockerfile
Edgar P. Burkhart fd09bf8aa3
All checks were successful
Build and push Docker image / build (push) Successful in 2m14s
Add Docker support with build and push workflow, and configure Gunicorn for application serving
2025-06-14 16:43:38 +02:00

17 lines
281 B
Docker

FROM ghcr.io/astral-sh/uv:debian-slim
ADD . /app
WORKDIR /app
RUN useradd -m -r musik && \
chown -R musik /app
USER musik
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV YOUTUBE_OAUTH_SECRETS="/config/secret.json"
RUN uv sync --locked
CMD ["/app/entrypoint.sh"]