block-sdk/contrib/images/pob.integration.Dockerfile
David Terpay 1ed1adc856
feat(ITS): [ENG-1627]: Moving ITS from release branch to main (#236)
Co-authored-by: Nikhil <nikhil@skip.money>
2023-08-11 18:22:39 +00:00

15 lines
305 B
Docker

FROM golang:1.20-bullseye AS builder
WORKDIR /src/pob
COPY . .
RUN go mod tidy
RUN make build-test-app
## Prepare the final clear binary
FROM ubuntu:rolling
EXPOSE 26656 26657 1317 9090 7171
COPY --from=builder /src/pob/build/* /usr/local/bin/
RUN apt-get update && apt-get install ca-certificates -y