add git to Docker image

This commit is contained in:
tinkerdudeno1 2021-12-12 14:41:09 +01:00 committed by GitHub
parent a078f0b787
commit ac3f7303db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,8 @@
FROM alpine:latest
RUN apk --update add ca-certificates \
mailcap \
curl
curl \
git
HEALTHCHECK --start-period=2s --interval=5s --timeout=3s \
CMD curl -f http://localhost/health || exit 1
@ -12,4 +13,4 @@ EXPOSE 80
COPY .docker.json /.filebrowser.json
COPY filebrowser /filebrowser
ENTRYPOINT [ "/filebrowser" ]
ENTRYPOINT [ "/filebrowser" ]