Skip to content

Instantly share code, notes, and snippets.

@mypapit
Created June 13, 2025 04:26
Show Gist options
  • Save mypapit/d40248ee81acbcf23b24a8afbffbc1a5 to your computer and use it in GitHub Desktop.
Save mypapit/d40248ee81acbcf23b24a8afbffbc1a5 to your computer and use it in GitHub Desktop.
FROM nvcr.io/nvidia/tensorflow:25.02-tf2-py3
# Set non-interactive mode for clean installs
ENV DEBIAN_FRONTEND=noninteractive
# Install system dependencies
RUN apt-get update && apt-get install -y \
python3-pip \
python3-opencv \
graphviz \
&& rm -rf /var/lib/apt/lists/*
# Upgrade pip and install Python packages
RUN python3 -m pip install --upgrade pip && \
pip install \
matplotlib \
pandas \
seaborn \
pydot \
scikit-learn \
tensorflow_hub \
spyder \
jupyterlab
# Optional: Set working directory
WORKDIR /workspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment