From bee01648020f5faa093798c7fe725d9e68b6bc5a Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Wed, 7 Jan 2026 23:55:49 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 42c8b73..96df4c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,15 @@ -FROM ubuntu:latest +FROM ubuntu:latest AS builder RUN apt update && \ - apt install -y \ - curl \ - ffmpeg && \ - curl -L https://downloads.filestash.app/upload/enterprise.tar.gz | tar -xz && \ - chmod +x /app/filestash.bin + apt install -y curl && \ + curl -L https://downloads.filestash.app/upload/enterprise.tar.gz -o /tmp/enterprise.tar.gz && \ + tar -xzf /tmp/enterprise.tar.gz --strip-components=1 -C /tmp + +FROM ubuntu:latest + +COPY --from=builder /tmp/filestash.bin /app/filestash.bin + +RUN chmod +x /app/filestash.bin EXPOSE 8334