registry/Dockerfile
Avinash Sridhar 4fb5bc477e
Init world. Basic registry API server
Work in progress .
This commit adds the core registry service implementation with methods to:
- Retrieve all registry entries
- List entries with cursor-based pagination
- Fetch specific server details by ID
2025-04-22 17:09:44 -04:00

11 lines
207 B
Docker

FROM golang:1.23-alpine AS builder
WORKDIR /app
COPY . .
RUN go build -o /build/registry ./cmd/registry
FROM alpine:latest
WORKDIR /app
COPY --from=builder /build/registry .
EXPOSE 8080
CMD ["./registry"]