mirror of
https://github.com/mainnika/nikita-tokarch-uk.git
synced 2026-05-25 01:03:35 +00:00
Adjust docker build for the new package structure
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
*
|
||||
!cmd
|
||||
!nginx
|
||||
!frontend
|
||||
!pkg
|
||||
!web
|
||||
!go.mod
|
||||
!go.sum
|
||||
|
||||
+2
-1
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user