mirror of https://github.com/statping/statping
box
parent
db84aa0fbb
commit
86b1b4be27
4
Makefile
4
Makefile
|
@ -52,7 +52,7 @@ compose-build-full: docker-base
|
|||
docker-compose -f docker-compose.yml -f dev/docker-compose.full.yml build --parallel --build-arg VERSION=${VERSION}
|
||||
|
||||
docker-base:
|
||||
docker build -t hunterlong/statping:base -f Dockerfile.base --build-arg VERSION=${VERSION} .
|
||||
docker build -t hunterlong/statping:base -f Dockerfile.base --no-cache --build-arg VERSION=${VERSION} .
|
||||
|
||||
docker-latest: docker-base
|
||||
docker build -t hunterlong/statping:latest --build-arg VERSION=${VERSION} .
|
||||
|
@ -60,7 +60,7 @@ docker-latest: docker-base
|
|||
docker-vue:
|
||||
docker build -t hunterlong/statping:vue --build-arg VERSION=${VERSION} .
|
||||
|
||||
push-vue: clean compile docker-base docker-vue
|
||||
push-vue: clean docker-base docker-vue
|
||||
docker push hunterlong/statping:base
|
||||
docker push hunterlong/statping:vue
|
||||
|
||||
|
|
|
@ -36,8 +36,9 @@ var (
|
|||
|
||||
// Assets will load the Rice boxes containing the CSS, SCSS, JS, and HTML files.
|
||||
func Assets() error {
|
||||
TmplBox = rice.MustFindBox("dist")
|
||||
return nil
|
||||
var err error
|
||||
TmplBox, err = rice.FindBox("dist")
|
||||
return err
|
||||
}
|
||||
|
||||
// HelpMarkdown will return the Markdown of help.md into HTML
|
||||
|
|
Loading…
Reference in New Issue