2020-06-04 19:53:58 +02:00
|
|
|
# The only officially supported distribution channel of the faucet binary is @cosmjs/faucet on npmjs.com
|
2020-02-06 10:41:08 +01:00
|
|
|
# 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.14.1-alpine
|
|
|
|
|
2020-06-04 19:53:58 +02:00
|
|
|
RUN yarn global add @cosmjs/faucet@0.0.8
|
2020-02-06 10:41:08 +01:00
|
|
|
|
|
|
|
# Check it exists
|
|
|
|
RUN /usr/local/bin/cosmwasm-faucet version
|
|
|
|
|
|
|
|
EXPOSE 8000
|
|
|
|
ENTRYPOINT ["/usr/local/bin/cosmwasm-faucet"]
|
|
|
|
CMD [""]
|