File tree Expand file tree Collapse file tree 3 files changed +38
-0
lines changed
Expand file tree Collapse file tree 3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ # ---------------------------------------------------------------------------------
2+ # Universal multi-arch image (works on both Apple Silicon & Intel)
3+ # ---------------------------------------------------------------------------------
4+ FROM quay.io/jupyter/datascience-notebook:python-3.11
5+ # ---------- system utilities ------------------------------------------------------
6+ USER root
7+ RUN apt-get update && \
8+ apt-get install -y --no-install-recommends git && \
9+ rm -rf /var/lib/apt/lists/*
10+ USER ${NB_UID}
11+
12+ # ---------- copy the course -------------------------------------------------------
13+ WORKDIR /home/jovyan/work
14+ COPY .. .
15+
16+ # ---------- extra Python deps -----------------------------------------------------
17+ COPY requirements.txt /tmp/
18+ RUN pip install --no-cache-dir -r /tmp/requirements.txt
19+
20+ EXPOSE 8888
21+ CMD ["start-notebook.sh" ]
Original file line number Diff line number Diff line change 1+ version : " 3.9"
2+ services :
3+ dlcc :
4+ build : .
5+ ports :
6+ - " 8888:8888"
7+ volumes :
8+ - ../:/home/jovyan/work # bind-mount whole repo ⇒ edits persist
9+ environment :
10+ - JUPYTER_ENABLE_LAB=yes
Original file line number Diff line number Diff line change 1+ torch == 2.7.*
2+ torchvision
3+ torchaudio
4+ deeptrack
5+ deeplay
6+ pytorch-lightning
7+ numpy
You can’t perform that action at this time.
0 commit comments