Skip to content

Commit

Permalink
fix docker, make clean will remove /go/bin/ (pingcap#1092)
Browse files Browse the repository at this point in the history
  • Loading branch information
siddontang authored and coocood committed Apr 13, 2016
1 parent 708c195 commit baa3968
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit baa3968

Please sign in to comment.