Implemented gateway interactions

This commit is contained in:
Borna Rajković committed 2023-07-10 10:10:13 +02:00
1 parent 80602afe58
commit 5dbf767863
16 files changed
+811 -30

No files matched your search

+5 -3
View File
@@ -10,10 +10,12 @@ COPY go.mod go.sum ./
RUN go mod download
COPY . .
ENV CGO_ENABLED=0
RUN go build -tags timetzdata template
RUN go build -tags timetzdata payment-poc
### Stage 2: Run ###
FROM scratch
WORKDIR /
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=go-build /root/template /usr/bin/template
ENTRYPOINT ["template"]
COPY --from=go-build /root/payment-poc /usr/bin/payment-poc
ADD templates /templates
ENTRYPOINT ["payment-poc"]