From 22d1a0d663e147ffb57770433130f40208133c69 Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Thu, 19 Sep 2024 08:53:58 -0400 Subject: [PATCH] fixup gosu/user --- examples/whisper/Dockerfile | 6 ++++++ examples/whisper/scyllaridae.yml | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/whisper/Dockerfile b/examples/whisper/Dockerfile index 9417141..cc965fb 100644 --- a/examples/whisper/Dockerfile +++ b/examples/whisper/Dockerfile @@ -8,4 +8,10 @@ RUN bash ./models/download-ggml-model.sh base.en COPY --from=scyllaridae /app /app COPY scyllaridae.yml /app +RUN apt-get update && apt-get install -y gosu \ + && rm -rf /var/lib/apt/lists/* \ + && groupadd -r nobody \ + && useradd -r -g nobody scyllaridae \ + && chmod +x /app/docker-entrypoint.sh + ENTRYPOINT ["/app/docker-entrypoint.sh"] diff --git a/examples/whisper/scyllaridae.yml b/examples/whisper/scyllaridae.yml index 8a9a1b8..8bfb7c7 100644 --- a/examples/whisper/scyllaridae.yml +++ b/examples/whisper/scyllaridae.yml @@ -1,5 +1,3 @@ -queueName: islandora-vtt-whisper -forwardAuth: true allowedMimeTypes: - "audio/*" - "video/*"