Files
telecom-platform/deployments/docker/api-server.Dockerfile
T
nutcas3 4dda7e25d8 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
2026-04-03 19:56:33 +03:00

23 lines
355 B
Docker

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"]