代码语言:javascript复制
#
# Python Dockerfile
#
# https://github.com/dockerfile/python
#
# Pull base p_w_picpath.
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"]