TissueImageAnalytics / tiatoolbox-docker

Docker Official Image packaging for Tiatoolbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"]

About

Docker Official Image packaging for Tiatoolbox

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dockerfile 100.0%