feat: add durable Kuknos settlement coordination
This commit is contained in:
1 parent
d5c9b338a4
commit
12c478cf3a
34 files changed
+1846
-122
No files matched your search
+7
-2
@@ -15,7 +15,9 @@ RUN --mount=type=cache,target=/go/pkg/mod,sharing=locked \
|
||||
COPY . .
|
||||
RUN --mount=type=cache,target=/go/pkg/mod,sharing=locked \
|
||||
--mount=type=cache,target=/root/.cache/go-build,sharing=locked \
|
||||
go build -trimpath -ldflags="-s -w" -o /out/gl ./cmd/gl
|
||||
go build -trimpath -ldflags="-s -w" -o /out/gl ./cmd/gl && \
|
||||
go build -trimpath -ldflags="-s -w" -o /out/dashboard ./cmd/dashboard && \
|
||||
go build -trimpath -ldflags="-s -w" -o /out/healthcheck ./cmd/healthcheck
|
||||
|
||||
FROM alpine:3.24.1
|
||||
|
||||
@@ -26,11 +28,14 @@ RUN apk add --no-cache ca-certificates \
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=builder /out/gl /app/gl
|
||||
COPY --from=builder /out/dashboard /app/dashboard
|
||||
COPY --from=builder /out/healthcheck /app/healthcheck
|
||||
COPY gl.cfg.toml /app/gl.cfg.toml
|
||||
COPY dashboard.cfg.toml /app/dashboard.cfg.toml
|
||||
|
||||
USER darano
|
||||
|
||||
EXPOSE 8600
|
||||
EXPOSE 8600 8601
|
||||
|
||||
ENTRYPOINT ["/app/gl"]
|
||||
CMD ["-conf", "/app/gl.cfg.toml"]
|
||||
Reference in new issue
Block a user