Skip to content

Commit d1830a2

Browse files
committed
jupyter notebook
1 parent db2fc5c commit d1830a2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ COPY . /src
2020

2121
RUN cd /src && pip install . --target=/install && cd / && rm -rf /src
2222

23-
FROM python:3.12-bookworm
23+
FROM python:3.12-slim-bookworm
2424

2525
COPY --from=build /install /usr/local/lib/python3.12/site-packages
2626

@@ -37,8 +37,10 @@ RUN adduser --disabled-password \
3737
--uid ${NB_UID} \
3838
${NB_USER}
3939

40-
COPY ./examples/*.ipynb ${HOME}/
40+
COPY ./examples/attenuation.ipynb ${HOME}/
4141
RUN chown -R ${NB_UID} ${HOME}
4242
USER ${NB_USER}
4343

4444
WORKDIR ${HOME}
45+
46+
ENTRYPOINT ["python3"]

0 commit comments

Comments
 (0)