initial setup
This commit is contained in:
commit
d3d11cc215
|
@ -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"]
|
||||
|
|
@ -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
|
Loading…
Reference in New Issue