Sync Server DONE!
This commit is contained in:
14
sync-server/Dockerfile
Normal file
14
sync-server/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user