From baa39688fccdfb626cdd48c0ff7577801d5402fb Mon Sep 17 00:00:00 2001 From: siddontang Date: Wed, 13 Apr 2016 10:30:43 +0800 Subject: [PATCH] fix docker, make clean will remove /go/bin/ (#1092) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0e9c3f241a27d..ebbf2b219fa02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,10 +4,10 @@ COPY . /go/src/github.com/pingcap/tidb RUN cd /go/src/github.com/pingcap/tidb && \ make godep && make server && \ - cp tidb-server/tidb-server /go/bin/ && \ + mv tidb-server/tidb-server /tidb-server && \ make clean EXPOSE 4000 -ENTRYPOINT ["tidb-server"] +ENTRYPOINT ["/tidb-server"]