mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
46d80464d2
Build both standard and linuxserver based images. linuxserver based images can be accessed by adding `-s6` suffix to the docker image name
16 lines
390 B
Docker
16 lines
390 B
Docker
FROM ghcr.io/linuxserver/baseimage-alpine:3.14
|
|
|
|
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 |