Skip to content

Commit

Permalink
Merge pull request #18 from samhaswon/dev
Browse files Browse the repository at this point in the history
Docker-build fix
  • Loading branch information
samhaswon authored Aug 3, 2023
2 parents 651b0f4 + a17d139 commit 740f003
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ pictures/
.github/
bibles/json-bibles/csb.json
bibles/json-bibles/net.json
docker-compose.yml
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ self_hosted_bible.egg-info/
notes.txt
bibles/convert.py
tests/speedtest.py
.gitignore

bibles/json-bibles/amp.json
bibles/json-bibles/amp.json.pbz2
Expand All @@ -38,3 +39,4 @@ bibles/json-bibles/nlt.json
bibles/json-bibles/nlt.json.pbz2
bibles/json-bibles/rsv.json
bibles/json-bibles/rsv.json.pbz2
/docker-compose.yml
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ COPY --chmod=0755 . .

EXPOSE 5000

STOPSIGNAL SIGKILL
CMD [ "/usr/src/app/daemon.sh" ]
VOLUME /usr/src/app/bibles/json-bibles
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD wget http://localhost:5000/health -q -O - > /dev/null 2>&1
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ A self-hosted webapp of various Bible versions including the KJV, ESV, and ASV.
|:------------:|:---------:|--------|
| x86-64 || latest |
| arm64v8 || latest |
| arm32v7 || latest |

## Examples
*Note: Screen shots taken in dark mode <br>
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
build-and-push:
docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag samhaswon/self-hosted-bible:latest .
docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag samhaswon/self-hosted-bible:latest .

0 comments on commit 740f003

Please sign in to comment.