mirror of
https://github.com/PretendoNetwork/friends.git
synced 2026-10-02 06:48:00 -05:00
chore: move go files to copy so readonly fs isn't errored
This commit is contained in:
@@ -10,9 +10,9 @@ ARG build_string=pretendo.friends.docker
|
||||
|
||||
WORKDIR ${app_dir}
|
||||
|
||||
COPY go.mod go.mod ./
|
||||
|
||||
RUN --mount=type=cache,target=/go/pkg/mod/ \
|
||||
--mount=type=bind,source=go.sum,target=go.sum \
|
||||
--mount=type=bind,source=go.mod,target=go.mod \
|
||||
go mod download -x
|
||||
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user