Skip to content

Commit

Permalink
update docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
rjonczy committed Feb 20, 2024
1 parent 79902f5 commit d330694
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion contrib/docker/goreleaser.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,22 @@ RUN if [ "${TARGETARCH}" = "arm64" ]; then \

FROM alpine:latest

WORKDIR /root
RUN apk --no-cache add ca-certificates
COPY --from=builder /root/centaurid /usr/local/bin/centaurid

RUN addgroup --gid 1025 -S composable && adduser --uid 1025 -S composable -G composable

WORKDIR /home/composable
USER composable

# rest server
EXPOSE 1317
# tendermint p2p
EXPOSE 26656
# tendermint rpc
EXPOSE 26657
# grpc
EXPOSE 9090

ENTRYPOINT ["centaurid"]
CMD [ "start" ]

0 comments on commit d330694

Please sign in to comment.