Adjust docker build for the new package structure

This commit is contained in:
2021-12-17 14:55:00 +01:00
parent 39ef200967
commit cec78ba769
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
*
!cmd
!nginx
!frontend
!pkg
!web
!go.mod
!go.sum
+2 -1
View File
@@ -16,7 +16,8 @@ RUN --mount=type=cache,id=gopath,target=${GOPATH} \
ARG APP_VERSION=containerized
COPY frontend frontend
COPY cmd cmd
COPY pkg pkg
RUN --mount=type=cache,id=gopath,target=${GOPATH} \
go build \