Dockerfile 432 B

12345678910111213
  1. # Copyright (c) 2021 NVIDIA Corporation. All rights reserved.
  2. # To run this dockerfile you need to present port 8888 and provide a hostname.
  3. # For instance:
  4. # $ nvidia-docker run --rm -it -p "8888:8888" -e HOSTNAME=foo.example.com openacc-labs:latest
  5. FROM nvcr.io/nvidia/nvhpc:21.3-devel-cuda_multi-ubuntu20.04
  6. RUN apt update && \
  7. apt install -y --no-install-recommends python3-pip
  8. ADD appName_labs/ /labs
  9. WORKDIR /labs