Skip to content

TissueImageAnalytics/tiatoolbox-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TIAToolbox-Docker

Docker Official Image packaging for TIAToolbox.

Pull the image from the Github Container Registry:

docker pull ghcr.io/tissueimageanalytics/tiatoolbox:latest

Use the image as a base image in a Dockerfile:

FROM ghcr.io/tissueimageanalytics/tiatoolbox:latest

Build the image locally:

  1. Navigate to the Dockerfile that you want to use, based on the Python version and Operating System that you prefer

  2. Build the Docker image

docker build -t <IMAGE_NAME> .       
  1. Check that the image has been created
docker images 
  1. Deploy the image as a Docker container
docker run -it --rm --name <CONTAINER_NAME> <IMAGE_NAME>     
  1. Connect to the running container
docker exec -it <CONTAINER_NAME> bash

To add your own script and run it through the Docker container, first copy your script into the docker environment and then execute it.

COPY /path/to/<script>.py .
CMD ["python3", "<script>.py"]