cosmjs/docs/faucet.Dockerfile
2020-08-18 11:00:04 +02:00

16 lines
519 B
Docker

# The only officially supported distribution channel of the faucet binary is @cosmjs/faucet on npmjs.com
# This is an example file of how to wrap the faucet in a docker container.
# This file will be outdated very soon, but should work as a template for your custom docker setup.
# Coose from https://hub.docker.com/_/node/
FROM node:12.18.3-alpine
RUN yarn global add @cosmjs/faucet@0.23.0
# Check it exists
RUN /usr/local/bin/cosmos-faucet version
EXPOSE 8000
ENTRYPOINT ["/usr/local/bin/cosmos-faucet"]
CMD [""]