build: revert to using the default alpine based docker image

Build both standard and linuxserver based images.
linuxserver based images can be accessed by adding `-s6` suffix to the docker image name
This commit is contained in:
Oleg Lobanov
2021-12-21 14:28:42 +01:00
parent 829ed9fb6d
commit 46d80464d2
6 changed files with 131 additions and 14 deletions

View File

@@ -1,5 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-alpine:3.14
FROM alpine:latest
RUN apk --update add ca-certificates \
mailcap \
curl
@@ -7,10 +6,10 @@ RUN apk --update add ca-certificates \
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
VOLUME /srv
EXPOSE 80
# ports and volumes
VOLUME /srv /config /database
EXPOSE 80
COPY docker_config.json /.filebrowser.json
COPY filebrowser /filebrowser
ENTRYPOINT [ "/filebrowser" ]