Update Dockerfile
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -1,11 +1,15 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:latest AS builder
|
||||||
|
|
||||||
RUN apt update && \
|
RUN apt update && \
|
||||||
apt install -y \
|
apt install -y curl && \
|
||||||
curl \
|
curl -L https://downloads.filestash.app/upload/enterprise.tar.gz -o /tmp/enterprise.tar.gz && \
|
||||||
ffmpeg && \
|
tar -xzf /tmp/enterprise.tar.gz --strip-components=1 -C /tmp
|
||||||
curl -L https://downloads.filestash.app/upload/enterprise.tar.gz | tar -xz && \
|
|
||||||
chmod +x /app/filestash.bin
|
FROM ubuntu:latest
|
||||||
|
|
||||||
|
COPY --from=builder /tmp/filestash.bin /app/filestash.bin
|
||||||
|
|
||||||
|
RUN chmod +x /app/filestash.bin
|
||||||
|
|
||||||
EXPOSE 8334
|
EXPOSE 8334
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user