Merged in feature/devbox (pull request #11)

Add Devbox

* adddevbox

* cleanupdockerfile

* testscripts
This commit is contained in:
Michael McGuinness
2025-01-10 12:58:14 +00:00
parent 0ebb8a21a1
commit 6e5c7aedc8
127 changed files with 1371 additions and 811 deletions
+6 -2
View File
@@ -1,8 +1,10 @@
# syntax=docker/dockerfile:1
ARG GO_VERSION=1.23
FROM golang:${GO_VERSION} AS build
WORKDIR /src
WORKDIR /app
RUN --mount=type=cache,target=/go/pkg/mod/ \
--mount=type=bind,source=go.sum,target=go.sum \
@@ -17,6 +19,8 @@ RUN --mount=type=cache,target=/go/pkg/mod/ \
FROM scratch AS final
WORKDIR /app
COPY database/migrations/ database/migrations/
COPY --from=build /bin/ /bin/
COPY --from=build /bin/ .