View on GitHub

skelebot

Machine Learning Project Development Tool

Home > API


Skelebot API

Version 1


Dockerignore Generator Module

The Dockerignore Generator provides the function for building the project .dockerignore based on the Config data so that only required files and folders are included in the Docker build process.


Import

from skelebot.systems.generators import dockerignore

buildDockerignore(config)

return None

PARAMETER TYPE DESCRIPTION
config Config The Config object representing the project configuration to be utilized in the .dockerignore
This function will utilize the ignores list from the Config object to construct a fully functioning
.dockerignore file for the project in order to omit specific files and folders and reduce the
amount of data inside the build context during the Docker build process.