This tool can be used to create a docker image to run code related to lung nodule detection in CT scans. This code was last updated some years ago, and therefore, will not run if the latest dependencies are installed. This file includes the required dependencies and allow us to run the lung nodule detection code by using the Docker image. That way, this image can be used as an input in a secure platform, when data access should be secure.
Original scripts not included due to copyright issues.
Code used in the following papers:
An alternative to using Docker is Singularity. More information on how to use this can be found here
The documentation below was created by using the prompt
Write documentation for the following code
This is a Dockerfile used to create a Docker image. The Docker image is based on the nvidia/cuda:11.2.2-base-ubuntu18.04
image, with the maintainer labeled as "nsourlos". The WORKdir
is set to /home/files/
.
The file requirements.txt
) is copied into the current directory with the COPY
command. The Dockerfile then runs a series of commands to install necessary packages and libraries for the image.
The first two RUN
commands install python3-pip
and upgrade the pip3 package. The following RUN
commands then install necessary dependencies and libraries, such as libsm6, libxext6, ffmpeg
, and libxrender-dev
.
The pip3 command is used to install the efficientnet library, with version 0.0.4, and to install the dependencies listed in the requirements.txt
file. The h5py
package is then uninstalled and reinstalled with a specific version to avoid errors related to tensorflow.
The rest of the files are copied into the image with the COPY
command, and the efficientnet folder is replaced with a modified version. The Docker image can then be built and run with the modified packages and libraries installed.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.