Implemented gateway interactions
This commit is contained in:
1 parent
80602afe58
commit
5dbf767863
16 files changed
+811
-30
No files matched your search
+5
-3
@@ -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"]
|
||||
Reference in new issue
Block a user