Sync Server DONE!

This commit is contained in:
2025-09-28 23:12:46 -06:00
parent 036becb5be
commit 6e490d1598
41 changed files with 5684 additions and 551 deletions

14
sync-server/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"]