mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
16 lines
390 B
Docker
16 lines
390 B
Docker
FROM ghcr.io/linuxserver/baseimage-alpine:3.17
|
|
|
|
RUN apk --update add ca-certificates \
|
|
mailcap \
|
|
curl
|
|
|
|
HEALTHCHECK --start-period=2s --interval=5s --timeout=3s \
|
|
CMD curl -f http://localhost/health || exit 1
|
|
|
|
# copy local files
|
|
COPY docker/root/ /
|
|
COPY filebrowser /usr/bin/filebrowser
|
|
|
|
# ports and volumes
|
|
VOLUME /srv /config /database
|
|
EXPOSE 80 |