Skip to content

Commit 31e3705

Browse files
committed
u
1 parent fe8ab67 commit 31e3705

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

docker/Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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"]

docker/docker-compose.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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

docker/requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
torch==2.7.*
2+
torchvision
3+
torchaudio
4+
deeptrack
5+
deeplay
6+
pytorch-lightning
7+
numpy

0 commit comments

Comments
 (0)