Update Dockerfile
All checks were successful
build-image / Parse tag from upstream metadata (push) Successful in 2s
build-image / Container image (push) Successful in 1m0s

This commit is contained in:
2026-01-07 23:55:49 +00:00
parent a33f30c537
commit bee0164802

View File

@@ -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