9 Star 38 Fork 1

百度开源 / familia

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 416 Bytes
一键复制 编辑 原始数据 按行查看 历史
orctom 提交于 2019-03-29 02:13 . added rest api and docker
FROM python:3.6-alpine
ADD . /familia
WORKDIR /familia/
ENV PYTHON_VERSION=python3.6m
RUN apk add make gcc g++ && \
sh build.sh && \
rm -f *_demo.sh *_demo && \
(cd model; sh download_model.sh; rm -f *.tar.gz) && \
(cd python; rm -rf demo *_demo.sh) && \
pip install -r python/requirements.txt
ENV LD_LIBRARY_PATH=/familia/third_party/lib:$LD_LIBRARY_PATH
EXPOSE 5000
CMD ["python", "python/app.py"]
C++
1
https://gitee.com/baidu/familia.git
git@gitee.com:baidu/familia.git
baidu
familia
familia
master

搜索帮助