Compare commits
No commits in common. "bddbd2b090590b061d21a2cbc99ffcc588cd88da" and "0e9b3c520951691e786320f6e93851d8cf9c6ffa" have entirely different histories.
bddbd2b090
...
0e9b3c5209
|
@ -13,7 +13,6 @@ boxes-api/bin
|
|||
# Ignore Git and other version control system files
|
||||
.git
|
||||
.gitignore
|
||||
.cache
|
||||
|
||||
# Ignore Docker's own files
|
||||
.dockerignore
|
||||
|
|
|
@ -17,12 +17,10 @@ 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 go mod download
|
||||
COPY boxes-api/. ./
|
||||
ENV CGO_ENABLED=1
|
||||
#ENV GOCACHE=./.cache/go-build
|
||||
#RUN --mount=type=cache,target="./.cache/go-build" go build -o boxes-api .
|
||||
RUN go build -o boxes-api .
|
||||
COPY --from=fe-builder /app/build /app/build
|
||||
EXPOSE 8080
|
||||
CMD ["/app/boxes-api"]
|
||||
CMD ["./boxes-api"]
|
|
@ -1 +1 @@
|
|||
Subproject commit c604251b7aba556a960c2862fafa859b96411e85
|
||||
Subproject commit 76a03cda573f415c7dd1de64823037dc683bf98b
|
2
boxes-fe
2
boxes-fe
|
@ -1 +1 @@
|
|||
Subproject commit 31eb7c04391188c9a2e80b6783efb172aedaa2ee
|
||||
Subproject commit 158d52dab4a633ddd972de5cc63b5f62564b4877
|
Loading…
Reference in New Issue