kickstart

This commit is contained in:
2025-10-22 00:45:18 +02:00
commit 213c9480e7
14 changed files with 294 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM golang:1.25.2-alpine3.22 AS builder
WORKDIR /app
COPY go.mod ./
COPY server/ ./server/
RUN go mod download
RUN go build -o /app/service_b ./server/main.go
FROM alpine:latest
WORKDIR /app
COPY --from=builder /app/service_b /app/service_b
EXPOSE 8090
CMD ["/app/service_b"]