github.com/diadata-org/diadata@v1.4.593/build/Dockerfile-snapshotServer (about)

     1  FROM us.icr.io/dia-registry/devops/build-119:latest as build
     2  
     3  
     4  WORKDIR $GOPATH
     5  
     6  WORKDIR $GOPATH/src/
     7  COPY ./cmd/http/snapshotServer ./
     8  
     9  RUN go install
    10  
    11  FROM postgres:13-bullseye
    12  
    13  COPY --from=build /go/bin/snapshotServer /bin/snapshotServer
    14  
    15  CMD ["snapshotServer"]
    16