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 && \
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user