mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-19 03:22:53 +00:00
feat: Add deployment infrastructure and documentation
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
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
FROM golang:1.26-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY apps/api-server/go.mod apps/api-server/go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
COPY apps/api-server/ ./
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o api-server .
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
||||
WORKDIR /root/
|
||||
|
||||
COPY --from=builder /app/api-server .
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["./api-server"]
|
||||
Reference in New Issue
Block a user