Created
April 11, 2019 08:15
-
-
Save schadokar/d08177076b99a0284d6c7f46b4bb9cc0 to your computer and use it in GitHub Desktop.
Dockerfile for the ganache-cli image
This file contains 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
# base image - node:alpine | |
FROM node:alpine | |
# set the working directory to /app | |
WORKDIR /app | |
# install ganache-cli globally | |
RUN npm install -g ganache-cli | |
# set the command ganache-cli -h 0.0.0.0 | |
# for docker ganache-cli host on 0.0.0.0 | |
CMD ["ganache-cli","-h","0.0.0.0"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment