Pull latest changes from upstream/main (GitHub) including: - Purchase RPC service (proto, server, logic, models) - Gateway route updates for purchase endpoints - SQL migration and config updates Excludes deploy/bin/ pre-compiled arm64 binaries (builds use multi-stage Dockerfiles targeting amd64).
8 lines
209 B
Docker
8 lines
209 B
Docker
FROM alpine:3.19
|
|
RUN apk add --no-cache ca-certificates tzdata
|
|
WORKDIR /app
|
|
COPY deploy/bin/purchase .
|
|
COPY deploy/etc/purchase.yaml etc/purchase.yaml
|
|
EXPOSE 9003
|
|
CMD ["./purchase", "-f", "etc/purchase.yaml"]
|