forked from filebrowser/filebrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
6 changed files
with
131 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
FROM ghcr.io/linuxserver/baseimage-alpine:3.14 | ||
|
||
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 | ||
|
||
# copy local files | ||
COPY docker/root/ / | ||
COPY filebrowser /usr/bin/filebrowser | ||
VOLUME /srv | ||
EXPOSE 80 | ||
|
||
COPY docker_config.json /.filebrowser.json | ||
COPY filebrowser /filebrowser | ||
|
||
# ports and volumes | ||
VOLUME /srv /config /database | ||
EXPOSE 80 | ||
ENTRYPOINT [ "/filebrowser" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
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 |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"port": 80, | ||
"baseURL": "", | ||
"address": "", | ||
"log": "stdout", | ||
"database": "/database.db", | ||
"root": "/srv" | ||
} |