files commited on
Commit
89ece90
·
verified ·
1 Parent(s): 341892d

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -20
Dockerfile DELETED
@@ -1,20 +0,0 @@
1
- FROM gtstef/filebrowser:latest AS filebrowser-source
2
- FROM nginx:alpine
3
-
4
- RUN apk add --no-cache bash
5
- COPY --from=filebrowser-source /fb/filebrowser /usr/local/bin/filebrowser
6
- WORKDIR /tmp
7
-
8
- RUN echo 'server { \
9
- listen 7860; \
10
- location / { \
11
- proxy_pass http://127.0.0.1:80; \
12
- proxy_set_header Host $host; \
13
- proxy_set_header X-Real-IP $remote_addr; \
14
- } \
15
- }' > /etc/nginx/conf.d/default.conf
16
- RUN echo '#!/bin/bash\n\
17
- filebrowser & nginx -g "daemon off;"' > /run.sh && chmod +x /run.sh
18
-
19
- EXPOSE 7860
20
- ENTRYPOINT ["/run.sh"]