diff --git a/Dockerfile b/Dockerfile index 5e1bce5..3fb364c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,8 @@ FROM golang:latest WORKDIR /app COPY boxes-api/go.mod ./ COPY boxes-api/go.sum ./ -RUN --mount=type=cache,target="./.cache/go-mod" go mod download +#RUN --mount=type=cache,target="./.cache/go-mod" go mod download +RUN go mod download COPY boxes-api/. ./ ENV CGO_ENABLED=1 #ENV GOCACHE=./.cache/go-build diff --git a/boxes-api b/boxes-api index c604251..4d9d722 160000 --- a/boxes-api +++ b/boxes-api @@ -1 +1 @@ -Subproject commit c604251b7aba556a960c2862fafa859b96411e85 +Subproject commit 4d9d722940ad0f14684ed236129e498f6755edb7 diff --git a/boxes-fe b/boxes-fe index 31eb7c0..bd32bfa 160000 --- a/boxes-fe +++ b/boxes-fe @@ -1 +1 @@ -Subproject commit 31eb7c04391188c9a2e80b6783efb172aedaa2ee +Subproject commit bd32bfaae5dcb9931633b3c2e290a1285f5aa244 diff --git a/docker-compose.yml b/docker-compose.yml index 38fe41f..cd48737 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,4 +10,5 @@ services: - ./boxes-api/images:/app/images - ./boxes-api/config:/app/config - ./boxes-api/data:/app/data + - ./boxes-api/build:/app/build