当前位置:首页 > Python教程 > python技巧

dockerfile-python

#
# Python Dockerfile
#
# https://github.com/dockerfile/python
#

# Pull base image.
FROM ubuntu

# Install Python.
RUN   apt-get update &&   apt-get install -y python python-dev python-pip python-virtualenv &&   rm -rf /var/lib/apt/lists/*

# Define working directory.
WORKDIR /data

# Define default command.
CMD ["bash"]

本文出自 “无伤” 博客,请务必保留此出处http://wushang.blog.51cto.com/10078847/1792740

原文:http://wushang.blog.51cto.com/10078847/1792740


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!