mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-18 11:02:54 +00:00
Docker: - Add production-ready Dockerfiles for all microservices - Optimize for multi-stage builds and minimal image sizes Kubernetes: - Add namespace and service manifests - Include MongoDB and Redis deployment configurations - Configure API server and charging engine deployments Documentation: - Add comprehensive README with platform overview - Include technology stack and quick start instructions - Provide prerequisites and setup guidance
21 lines
384 B
Docker
21 lines
384 B
Docker
FROM golang:1.26-alpine AS builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY apps/carrier-connector/go.mod apps/carrier-connector/go.sum ./
|
|
RUN go mod download
|
|
|
|
COPY apps/carrier-connector/ ./
|
|
|
|
RUN CGO_ENABLED=0 GOOS=linux go build -o carrier-connector .
|
|
|
|
FROM alpine:latest
|
|
|
|
RUN apk --no-cache add ca-certificates
|
|
|
|
WORKDIR /root/
|
|
|
|
COPY --from=builder /app/carrier-connector .
|
|
|
|
CMD ["./carrier-connector"]
|