docker: ignore the "docker" (coindate) folder from being sent to the docker context. (#1)

docker: don't use master to build the docker image
This commit is contained in:
Kewde 2019-08-02 09:54:32 +00:00 committed by tecnovert
parent da9f95fd61
commit 876c2234f3
2 changed files with 3 additions and 3 deletions

1
.dockerignore Normal file
View file

@ -0,0 +1 @@
docker

View file

@ -7,9 +7,8 @@ RUN apt-get update; \
apt-get install -y wget python3-pip gnupg unzip protobuf-compiler; apt-get install -y wget python3-pip gnupg unzip protobuf-compiler;
# TODO: move coindata dir out of src dir # TODO: move coindata dir out of src dir
RUN wget -O bs.zip https://github.com/tecnovert/basicswap/archive/master.zip; \ COPY . basicswap-master
unzip bs.zip; \ RUN cd basicswap-master; \
cd basicswap-master; \
protoc -I=basicswap --python_out=basicswap basicswap/messages.proto; \ protoc -I=basicswap --python_out=basicswap basicswap/messages.proto; \
pip3 install .; pip3 install .;