Skip to content

Commit b98d3ea

Browse files
committed
Jupyter running in docker, first pass.
1 parent ce22846 commit b98d3ea

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

code/08-reproducibility/compose.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,10 @@ services:
88
image: linux-math-base
99
platform: linux/amd64
1010

11+
math_research:
12+
build:
13+
context: ./math_research
14+
dockerfile: Dockerfile
15+
container_name: math_research
16+
image: math_research
17+
platform: linux/amd64
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
11
FROM linux-math-base:latest
22

3+
RUN mkdir /app
4+
WORKDIR /app
5+
6+
RUN uv self update
7+
8+
# Major sources of variability solved:
9+
RUN uv venv --python 3.13.5 /venv
10+
11+
COPY src/requirements.txt /app
12+
13+
RUN uv pip install -r requirements.txt
14+
15+
COPY src/ /app
16+
17+
EXPOSE 9000
18+
CMD ["uv", "run", "jupyter", "lab", "--config=/app/config/jupyter_server_config.py"]
19+

0 commit comments

Comments
 (0)