mirror of
https://github.com/mainnika/nikita-tokarch-uk.git
synced 2026-05-25 01:03:35 +00:00
Move templates to an internal package
This commit is contained in:
@@ -9,6 +9,8 @@ RUN dnf install -yq golang
|
||||
|
||||
COPY go.mod .
|
||||
COPY go.sum .
|
||||
COPY templates/go.mod templates/go.mod
|
||||
COPY templates/go.sum templates/go.sum
|
||||
|
||||
RUN --mount=type=cache,id=gopath,target=${GOPATH} \
|
||||
go mod \
|
||||
@@ -18,6 +20,7 @@ ARG APP_VERSION=containerized
|
||||
|
||||
COPY cmd cmd
|
||||
COPY pkg pkg
|
||||
COPY templates templates
|
||||
|
||||
RUN --mount=type=cache,id=gopath,target=${GOPATH} \
|
||||
go build \
|
||||
|
||||
Reference in New Issue
Block a user