diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000000..2634dbfa04 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +./tests +./docs +./.github diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..c2f26457e2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM ubuntu:20.04 +RUN apt-get update && apt-get upgrade --yes && apt-get install git python3.8 python3-pip --yes +COPY . . +RUN python3 ./setup.py install +RUN ape plugins add solidity --yes +RUN ape plugins add vyper --yes +RUN ape plugins add infura --yes +RUN ape plugins add etherscan --yes +RUN ape plugins add ens --yes +ENTRYPOINT ["ape"] diff --git a/README.md b/README.md index 6fbaa5e19a..c5b1235bb5 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,10 @@ cd ape python3 setup.py install ``` +### via `docker` + +Please visit our [Dockerhub](https://hub.docker.com/repository/docker/apeworx/ape) for more details on using Ape with Docker. + ## Quick Usage Ape is primarily meant to be used as a command line tool. Here are some things you can use ape to do: