1234567891011121314151617 |
- # Copyright (c) 2020 NVIDIA Corporation. All rights reserved.
- # To build the docker container, run: $ sudo docker build -t openacc-labs:latest .
- # To run: $ sudo docker run --rm -it --gpus=all -p 8888:8888 openacc-labs:latest
- # Finally, open http://127.0.0.1:8888/
- FROM nvcr.io/nvidia/nvhpc:20.9-devel-ubuntu20.04
- RUN apt-get -y update && \
- DEBIAN_FRONTEND=noninteractive apt-get -yq install --no-install-recommends python3-pip python3-setuptools nginx zip build-essential && \
- rm -rf /var/lib/apt/lists/* && \
- pip3 install --no-cache-dir jupyter
- ADD English/ /labs
- WORKDIR /labs
- CMD service nginx start && jupyter notebook --no-browser --allow-root --ip=0.0.0.0 --port=8888 --NotebookApp.token="" --notebook-dir=/labs
|