Small image to data science. Packages: numpy, pandas, matplotlib, scikit-learn and jupyter.
266
Dockerfile
# Use official Python image
FROM python:3.9-slim-buster
# For macOS
# FROM --platform=linux/amd64 python:3.9-slim-buster
# Set environment variable
ENV PYTHONUNBUFFERED 1
# Install Python libraries
RUN pip install numpy pandas matplotlib scikit-learn jupyter
# Run Jupyter by default
CMD ["jupyter", "lab", "--ip='0.0.0.0'", "--allow-root"]
docker pull nono/ds-python:latest