From 876c2234f3fb405355069491c4e9dcd92c885b59 Mon Sep 17 00:00:00 2001 From: Kewde Date: Fri, 2 Aug 2019 09:54:32 +0000 Subject: [PATCH] docker: ignore the "docker" (coindate) folder from being sent to the docker context. (#1) docker: don't use master to build the docker image --- .dockerignore | 1 + Dockerfile | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..6d0eac4 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +docker \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index d3c2123..078329c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,8 @@ RUN apt-get update; \ apt-get install -y wget python3-pip gnupg unzip protobuf-compiler; # TODO: move coindata dir out of src dir -RUN wget -O bs.zip https://github.com/tecnovert/basicswap/archive/master.zip; \ - unzip bs.zip; \ - cd basicswap-master; \ +COPY . basicswap-master +RUN cd basicswap-master; \ protoc -I=basicswap --python_out=basicswap basicswap/messages.proto; \ pip3 install .;