Created
April 17, 2018 07:45
-
-
Save kidinamoto01/dbfe93eea568364ef80589ad1450d5cc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.6 | |
ADD ./ /usr/local/bin/ | |
ENV DATA_ROOT /gaiad | |
# Set user right away for determinism | |
RUN addgroup gaiauser && \ | |
adduser -S -G gaiauser gaiauser | |
# Create directory for persistence and give our user ownership | |
RUN mkdir -p $DATA_ROOT && \ | |
chown -R gaiauser:gaiauser $DATA_ROOT | |
VOLUME $DATA_ROOT | |
# p2p port | |
EXPOSE 46656 | |
# rpc port | |
EXPOSE 46657 | |
WORKDIR /bianjie/ | |
ENTRYPOINT ["gaiad"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment