commit d3d11cc215d865c6b884a9b9a121c681d8bcf941 Author: Hladu357 Date: Fri Oct 18 18:42:33 2024 +0200 initial setup diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9106696 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM python:3.10-slim + +RUN pip install --upgrade pip \ + && pip install jupyter notebook + +EXPOSE 8888 + +CMD ["jupyter", "notebook", "--ip=0.0.0.0", "--allow-root", "--no-browser"] + diff --git a/how_to_run.md b/how_to_run.md new file mode 100644 index 0000000..9151037 --- /dev/null +++ b/how_to_run.md @@ -0,0 +1,9 @@ +# build +podman build -t pst -f Dockerfile +or +docker build -t pst -f Dockerfile + +# run +pacman -S slirp4netns && podman run --network=slirp4netns -p 8888:8888 pst +or +docker run -p 8888:8888 pst