Dockerfile 699 B

123456789101112131415161718192021222324
  1. # Copyright (c) 2020 NVIDIA Corporation. All rights reserved.
  2. # Select Base Image
  3. #FROM rapidsai/rapidsai:cuda10.1-runtime-ubuntu18.04-py3.7
  4. FROM rapidsai/rapidsai:cuda11.0-runtime-ubuntu18.04-py3.7
  5. # Update the repo
  6. RUN apt-get update -y
  7. # Install required dependencies
  8. RUN apt-get install -y libsm6 libxext6 libxrender-dev git
  9. # Install required python packages
  10. RUN pip install gdown
  11. # TO COPY the data
  12. COPY English/Python /workspace
  13. # Copy the Python file for downloading dataset
  14. WORKDIR /workspace/data
  15. RUN python3 /workspace/source_code/dataset.py
  16. WORKDIR /workspace
  17. CMD jupyter lab --no-browser --allow-root --ip=0.0.0.0 --port=8888 --NotebookApp.token="" --notebook-dir=/workspace