files commited on
Commit
7122c7f
·
verified ·
1 Parent(s): d739df5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -8
Dockerfile CHANGED
@@ -1,13 +1,11 @@
1
- FROM filebrowser/filebrowser:latest
2
 
3
- USER root
4
- RUN apk add --no-cache ca-certificates curl
5
-
6
- RUN curl -L https://github.com/rishikesh-suvarna/tunl.cc/releases/latest/download/tunl-linux-x64 > /usr/bin/tunl
7
- RUN chmod +x /usr/bin/tunl
8
 
9
  WORKDIR /srv
10
  EXPOSE 7860
11
 
12
- ENTRYPOINT ["/bin/sh", "-c"]
13
- CMD ["filebrowser --noauth -p 7860 -r /srv & tunl 7860 files"]
 
1
+ FROM alpine:latest
2
 
3
+ RUN apk add --no-cache curl ca-certificates bash
4
+ RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
5
+ RUN curl -L https://github.com/rishikesh-suvarna/tunl.cc/releases/latest/download/tunl-linux-x64 -o /usr/bin/tunl && \
6
+ chmod +x /usr/bin/tunl
 
7
 
8
  WORKDIR /srv
9
  EXPOSE 7860
10
 
11
+ CMD filebrowser -r /srv -p 7860 --noauth & tunl 7860 files