Provide templates for tests

This commit is contained in:
Jan-Lukas Else 2021-06-19 08:41:21 +02:00
parent f7d3138c24
commit 4bbb1a29b1
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ ENV GOFLAGS="-tags=linux,libsqlite3,sqlite_fts5"
ADD *.go go.mod go.sum /app/
ADD pkgs/ /app/pkgs/
ADD testdata/ /app/testdata/
Add templates/ /app/templates/
RUN go test -cover ./...
RUN go build -ldflags '-w -s' -o GoBlog