dockerfile-python
2023-01-31 01:01:57
dockerfile
#
# 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"]
相关文章