diff --git a/Dockerfile b/Dockerfile index d8b056c9..a0fab54b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM umputun/baseimage:buildgo as build-backend +FROM umputun/baseimage:buildgo-latest as build-backend ARG CI ARG DRONE @@ -57,7 +57,7 @@ RUN cd /srv/frontend && \ else echo "skip frontend tests and lint" ; npm run build ; fi && \ rm -rf ./node_modules -FROM umputun/baseimage:app +FROM umputun/baseimage-latest:app WORKDIR /srv diff --git a/backend/app/templates/templates.go b/backend/app/templates/templates.go index 4185b770..87acf132 100644 --- a/backend/app/templates/templates.go +++ b/backend/app/templates/templates.go @@ -34,5 +34,5 @@ func (f *FS) ReadFile(path string) ([]byte, error) { if f.statik != nil { return fs.ReadFile(f.statik, filepath.Join("/", path)) } - return ioutil.ReadFile(filepath.Join("./",filepath.Clean(path))) + return ioutil.ReadFile(filepath.Join("./", filepath.Clean(path))) }