mirror of
https://github.com/mainnika/nikita-tokarch-uk.git
synced 2026-06-19 18:44:57 +00:00
Adjust docker build for the new package structure
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
*
|
*
|
||||||
|
!cmd
|
||||||
!nginx
|
!nginx
|
||||||
!frontend
|
!pkg
|
||||||
!web
|
!web
|
||||||
!go.mod
|
!go.mod
|
||||||
!go.sum
|
!go.sum
|
||||||
|
|||||||
+2
-1
@@ -16,7 +16,8 @@ RUN --mount=type=cache,id=gopath,target=${GOPATH} \
|
|||||||
|
|
||||||
ARG APP_VERSION=containerized
|
ARG APP_VERSION=containerized
|
||||||
|
|
||||||
COPY frontend frontend
|
COPY cmd cmd
|
||||||
|
COPY pkg pkg
|
||||||
|
|
||||||
RUN --mount=type=cache,id=gopath,target=${GOPATH} \
|
RUN --mount=type=cache,id=gopath,target=${GOPATH} \
|
||||||
go build \
|
go build \
|
||||||
|
|||||||
Reference in New Issue
Block a user