github.com/iotexproject/iotex-core@v1.14.1-rc1/tools/bot/Dockerfile (about)

     1  FROM golang:1.18.5-bullseye
     2  
     3  WORKDIR apps/iotex-bot
     4  
     5  RUN apt-get install -y --no-install-recommends make
     6  RUN git clone https://github.com/iotexproject/iotex-core
     7  RUN cd iotex-core/tools/bot && \
     8      make build && \
     9      cp ./bot /usr/local/bin/bot  && \
    10      mkdir -p /etc/iotex/ && \
    11      rm -rf apps/iotex-bot
    12  
    13  CMD [ "bot -config-path=/etc/iotex/config.yaml"]