Add python3.8-tk to Dockerfile.gpu and fixed documentation regarding docker launch (#1118)

Co-authored-by: Mathias Hedberg <mathias@hedberg.io>
This commit is contained in:
Mathias Hedberg 2021-01-23 16:55:06 +01:00 committed by GitHub
parent 15bbc95955
commit da5f69319d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -7,6 +7,7 @@ RUN add-apt-repository ppa:deadsnakes/ppa -y
RUN apt-get update
RUN apt install python3.8 -y
RUN apt install python3.8-distutils -y
RUN apt install python3.8-tk -y
RUN apt install curl -y
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
RUN python3.8 get-pip.py
@ -24,4 +25,4 @@ RUN jupyter serverextension enable --py jupyter_http_over_ws
RUN alias python=python3.8
RUN echo "alias python=python3.8" >> /root/.bashrc
WORKDIR "/notebooks"
CMD ["jupyter-notebook", "--allow-root" ,"--port=8888" ,"--no-browser" ,"--ip=0.0.0.0"]
CMD ["jupyter-notebook", "--allow-root" ,"--port=8888" ,"--no-browser" ,"--ip=0.0.0.0"]

View File

@ -233,7 +233,9 @@ INFO 1. Install Docker
deepfakes-gpu
1. Open a new terminal to interact with the project
docker exec faceswap-gpu python /srv/faceswap.py gui
docker exec -it deepfakes-gpu /bin/bash
# Launch deepfakes gui (Answer 3 for NVIDIA at the prompt)
python3.8 /srv/faceswap.py gui
```
A successful setup log, without docker.