Dockerfile 493 字节
Newer Older
T
typhoonzero 已提交
1 2 3 4 5 6 7 8
#FROM paddlepaddle/paddlecloud-job
#RUN mkdir -p /workspace
#ADD reader.py /workspace/
#RUN python /workspace/reader.py
FROM python:2.7.14
ADD paddle_k8s /usr/bin
ADD k8s_tools.py /root
RUN pip install -U kubernetes opencv-python &&   apt-get update -y &&   apt-get install -y iputils-ping libgtk2.0-dev 
T
typhoonzero 已提交
9 10 11 12 13
ADD *.whl /
RUN pip install /*.whl && rm -f /*.whl
ENV LD_LIBRARY_PATH=/usr/local/lib
ADD reader.py /workspace/
RUN python /workspace/reader.py
T
typhoonzero 已提交
14

T
typhoonzero 已提交
15
ADD vgg16_fluid.py vgg16_v2.py /workspace/