initial setup

This commit is contained in:
Hladu357 2024-10-18 18:42:33 +02:00
commit d3d11cc215
2 changed files with 18 additions and 0 deletions

9
Dockerfile Normal file
View File

@ -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"]

9
how_to_run.md Normal file
View File

@ -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