filebrowser/Dockerfile
Henrique Dias 277f13a350 feat: update dockerfile
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>

Former-commit-id: e6b5d4dae3b1c92e5f45d1871d2cf522ebe231da [formerly d96f427f565caeaa73d496f1cfe5797849cbfee6] [formerly ecdfa88ca15f22287b8a145b1a32deac51febf54 [formerly 365eff8ca4]]
Former-commit-id: 7035068a2d4532448ce5f99df3e44a56ef70abf0 [formerly 22078ce93001feb79a7fe835ab33298287ffb23b]
Former-commit-id: 4d4576f98a9d992501e4ee7cd7d90a7dd319fabc
2019-01-05 23:47:56 +00:00

13 lines
271 B
Docker

FROM scratch
COPY --from=filebrowser/dev /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
VOLUME /tmp
VOLUME /srv
EXPOSE 80
COPY filebrowser /filebrowser
ENTRYPOINT [ "/filebrowser", "--database database.db", "--scope /srv" ]
CMD [ "--port 80" ]