diff --git a/.dockerignore b/.dockerignore index 4b910a2..5de0ae6 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,6 +1,7 @@ * +!cmd !nginx -!frontend +!pkg !web !go.mod !go.sum diff --git a/Dockerfile b/Dockerfile index 098f2a1..bb09166 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \