2026-06-15 09:20:56 +08:00
|
|
|
FROM alpine:3.19
|
2026-06-17 23:16:28 +08:00
|
|
|
RUN apk add --no-cache ca-certificates tzdata gettext
|
2026-06-15 09:20:56 +08:00
|
|
|
WORKDIR /app
|
|
|
|
|
COPY deploy/bin/purchase .
|
|
|
|
|
COPY deploy/etc/purchase.yaml etc/purchase.yaml
|
2026-06-17 23:16:28 +08:00
|
|
|
COPY deploy/entrypoint.sh /entrypoint.sh
|
2026-06-15 09:20:56 +08:00
|
|
|
EXPOSE 9003
|
2026-06-17 23:16:28 +08:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
2026-06-15 09:20:56 +08:00
|
|
|
CMD ["./purchase", "-f", "etc/purchase.yaml"]
|