diff --git a/use_case_examples/deployment/cifar/build_docker_client_image.py b/use_case_examples/deployment/cifar/build_docker_client_image.py new file mode 100644 index 000000000..0cdc4dd56 --- /dev/null +++ b/use_case_examples/deployment/cifar/build_docker_client_image.py @@ -0,0 +1,16 @@ +import os +import subprocess +from pathlib import Path + + +def main(): + path_of_script = Path(__file__).parent.resolve() + # Build image + os.chdir(path_of_script) + command = f'docker build --tag cml_client_cifar --file "{path_of_script}/Dockerfile.client" .' + print(command) + subprocess.check_output(command, shell=True) + + +if __name__ == "__main__": + main()