-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use hugo 0.110.0. Nothing much included in recent versions, mostly bug-fixes and build/CI improvements. The binary name has changed so thats updated in our Dockerfile. * build: Docker cleanup/update. - Use Alpine version of nginx image (23MB instead of 142MB) - Fix MIME type for rss feeds. - Clean up .gitignore and .dockerignore. - Ensure scripts fail on error.
- Loading branch information
1 parent
e1ede8a
commit d5e9271
Showing
9 changed files
with
43 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.gitignore | ||
.git | ||
.github | ||
LICENSE | ||
README.md | ||
|
||
bin/build.sh | ||
bin/watch.sh | ||
src/public | ||
src/resources | ||
src/.hugo_build.lock |
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,4 +1,4 @@ | ||
dist/ | ||
src/resources/_gen | ||
src/resources | ||
src/public | ||
.hugo_build.lock | ||
src/.hugo_build.lock |
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
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,19 +1,27 @@ | ||
#!/bin/bash -e | ||
#!/usr/bin/env bash | ||
# Requires docker 17.05 or higher | ||
|
||
set -e | ||
|
||
echo "" | ||
echo "=================================" | ||
echo " Building dexweb docker image " | ||
echo "=================================" | ||
echo "" | ||
|
||
docker build -t decred/dexweb . | ||
IMAGE_NAME=decred/dexweb | ||
|
||
if [ "$1" != "" ]; then | ||
IMAGE_NAME=$1 | ||
fi | ||
|
||
docker build -t $IMAGE_NAME . | ||
|
||
echo "" | ||
echo "===================" | ||
echo " Build complete" | ||
echo "===================" | ||
echo "" | ||
echo "You can now run dexweb with the following command:" | ||
echo " docker run -d --rm -p <local port>:80 decred/dexweb:latest" | ||
echo " docker run -d --rm -p <local port>:80 $IMAGE_NAME:latest" | ||
echo "" |
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,5 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
# Remove old hugo output before building | ||
rm -rf src/public src/resources | ||
|
||
|
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