Files
Danny Bessems 3b32263b0b
All checks were successful
build-image / Parse tag from upstream metadata (push) Successful in 2s
build-image / Container image (push) Successful in 56s
Update Dockerfile
2026-01-08 00:05:55 +00:00

16 lines
412 B
Docker

FROM ubuntu:latest AS builder
RUN apt-get update && \
apt-get 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
ENTRYPOINT ["/app/filestash.bin"]