Skip to content

Instantly share code, notes, and snippets.

@bodokaiser
Created June 2, 2023 08:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bodokaiser/aa2d19314edfb595d018145eef8d8d14 to your computer and use it in GitHub Desktop.
Save bodokaiser/aa2d19314edfb595d018145eef8d8d14 to your computer and use it in GitHub Desktop.
Dockerfile for installing numpy, scipy, and numba from requirements.txt
FROM python:3.9-slim
RUN apt update && apt install --assume-yes --no-install-recommends \
build-essential
WORKDIR /tmp
COPY requirements.txt ./
RUN pip install --no-cache -r requirements.txt
COPY . .
CMD [ "jupyter", "lab", "--no-browser", "--allow-root", "--ip=0.0.0.0" ]
scipy
matplotlib
pillow
numba
numba_scipy
jupyterlab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment