- This image builds an NLP environment for use in jupyter-lab
- Deploy the container to a remote server.
.
└── computer-vision-docker-image
├── dependecies
│ ├── nlp-requirements.txt
│ └── ubuntu-deps.sh
├── Code
│ ├── model_pipeline.py
│ └── pretrained_seq_clf.ipynb
├── Dockerfile
├── docker-compose.yml
└── ReadME.md
docker-compose build
If you need to make updates to the content of the container, e.g. installing new packages with pip- you can specify these in the nlp-requirements.txt file in the dependencies folder.
docker-compose up
The docker run bash scripts allow for ease of launching into the container's jupyter-lab.
This docker run script uses docker-compose commands to achieve this.
Confirm port in docker-compose file is free to use prior to running the command.
docker run --rm --user "container_user" -v "${PWD}/Code:/app" --runtime nvidia -p 8181:8888 -it nlp-env