Docker Official Image packaging for TIAToolbox.
docker pull ghcr.io/tissueimageanalytics/tiatoolbox:latestFROM ghcr.io/tissueimageanalytics/tiatoolbox:latest-
Navigate to the Dockerfile that you want to use, based on the Python version and Operating System that you prefer
-
Build the Docker image
docker build -t <IMAGE_NAME> . - Check that the image has been created
docker images - Deploy the image as a Docker container
docker run -it --rm --name <CONTAINER_NAME> <IMAGE_NAME> - Connect to the running container
docker exec -it <CONTAINER_NAME> bashTo 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"]