filebrowser/Dockerfile
Yonas Yanfa b854347484 fix: build on FreeBSD and non-Linux platforms
`bash` is installed in `/usr/local/bin/bash` on FreeBSD. This patch should make the build work
without modification for FreeBSD and Linux.
2023-02-05 12:23:42 -05:00

15 lines
350 B
Docker

FROM alpine:latest
RUN apk --update add ca-certificates \
mailcap \
curl
HEALTHCHECK --start-period=2s --interval=5s --timeout=3s \
CMD curl -f http://localhost/health || exit 1
VOLUME /srv
EXPOSE 80
COPY docker_config.json /.filebrowser.json
COPY filebrowser /filebrowser
ENTRYPOINT [ "/filebrowser" ]