Skip to content

Commit bcaf3d2

Browse files
committed
Our app running in jupyter!
1 parent b98d3ea commit bcaf3d2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

code/08-reproducibility/compose.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@ services:
1414
dockerfile: Dockerfile
1515
container_name: math_research
1616
image: math_research
17+
working_dir: /app
18+
ports:
19+
- "9000:9000"
1720
platform: linux/amd64
21+

code/08-reproducibility/math_research/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ RUN uv pip install -r requirements.txt
1414

1515
COPY src/ /app
1616

17+
RUN rm requirements.*
18+
1719
EXPOSE 9000
1820
CMD ["uv", "run", "jupyter", "lab", "--config=/app/config/jupyter_server_config.py"]
1921

0 commit comments

Comments
 (0)