Use faucet from NPM

This commit is contained in:
Simon Warta
2020-02-06 10:41:08 +01:00
parent beb60319da
commit 609098affb
4 changed files with 25 additions and 46 deletions
+15
View File
@@ -0,0 +1,15 @@
# The only officially supported distribution channel of the faucet binary is @cosmwasm/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.14.1-alpine
RUN yarn global add @cosmwasm/faucet@0.0.3
# Check it exists
RUN /usr/local/bin/cosmwasm-faucet version
EXPOSE 8000
ENTRYPOINT ["/usr/local/bin/cosmwasm-faucet"]
CMD [""]