16 lines
412 B
Docker
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"] |