mirror of
https://github.com/yanyiwu/cppjieba.git
synced 2025-07-18 00:00:12 +08:00
add dockerfile
This commit is contained in:
parent
82d8a23ab9
commit
6ac7a8c85c
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM ubuntu:14.04
|
||||
MAINTAINER yanyiwu <wuyanyi09@foxmail.com>
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y g++ cmake git
|
||||
RUN git clone https://github.com/aszxqw/cppjieba.git
|
||||
RUN mkdir cppjieba/build
|
||||
WORKDIR /cppjieba/build
|
||||
RUN cmake ..
|
||||
RUN make
|
||||
EXPOSE 11200
|
||||
CMD ["./bin/cjserver", "../test/testdata/server.conf"]
|
Loading…
x
Reference in New Issue
Block a user