files commited on
Commit
947db1c
·
verified ·
1 Parent(s): e1ff27f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -17
Dockerfile CHANGED
@@ -1,18 +1,4 @@
1
- FROM debian:stable-slim
2
-
3
- RUN apt-get update && \
4
- apt-get install -y curl ca-certificates && \
5
- rm -frRv /var/lib/apt/lists/*
6
-
7
- RUN curl -fSL https://github.com/filebrowser/get/raw/master/get.sh | bash
8
- RUN curl -L https://github.com/rishikesh-suvarna/tunl.cc/releases/latest/download/tunl-linux-x64 -o /usr/local/bin/tunl && \
9
- chmod +x /usr/local/bin/tunl
10
-
11
- WORKDIR /srv
12
- RUN filebrowser config init -d /srv/filebrowser.db && \
13
- filebrowser config set -d /srv/filebrowser.db --address 0.0.0.0 --port 7860 && \
14
- filebrowser config set -d /srv/filebrowser.db --auth.method noauth && \
15
- filebrowser config set -d /srv/filebrowser.db --root /srv
16
-
17
  EXPOSE 7860
18
- CMD filebrowser -d /srv/filebrowser.db & tunl 7860 files
 
1
+ FROM filebrowser/filebrowser:latest
2
+ WORKDIR /tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  EXPOSE 7860
4
+ CMD ["--disableExec=false", "--noauth", "-p", "7860", "-r", "/root"]