switch base image

This commit is contained in:
Umputun
2020-05-12 12:02:13 -05:00
parent 0895de2f7e
commit 6bee151b25
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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)))
}