Added proper CI
All checks were successful
OpenClimb Docker Deploy / build-and-push (pull_request) Successful in 2m3s

This commit is contained in:
2025-09-28 23:29:44 -06:00
parent 6e490d1598
commit f7f1fba9aa
11 changed files with 348 additions and 3 deletions

14
sync/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM golang:1.25-alpine AS builder
WORKDIR /app
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o sync-server .
FROM alpine:latest
RUN apk --no-cache add ca-certificates
WORKDIR /root/
COPY --from=builder /app/sync-server .
EXPOSE 8080
CMD ["./sync-server"]