From 6925608634cfe4f9b24233d0fc01d7b461790bbc Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Mon, 14 Oct 2024 13:56:49 -0700 Subject: [PATCH] Handles supervisor in a better way --- Dockerfile | 2 +- pyproject.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 960067e8b..9dd440996 100644 --- a/Dockerfile +++ b/Dockerfile @@ -86,7 +86,7 @@ COPY ./docker/rootfs / # Purpose: The final image # Comments: # - Don't leave anything extra in here -FROM s6-overlay-base AS main-app +FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim AS main-app LABEL org.opencontainers.image.authors="paperless-ngx team " LABEL org.opencontainers.image.documentation="https://docs.paperless-ngx.com/" diff --git a/pyproject.toml b/pyproject.toml index 019c7e2ac..3df820257 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,6 +69,10 @@ dependencies = [ "granian>=1.7.6", ] +optional-dependencies.supervisor = [ + "supervisor==4.2.5", +] + [tool.uv] package = false dev-dependencies = [