Dockerfile 576 B

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