Files
examples/deployment/breast_cancer/build_docker_client_image.py
zeekay 9546c92611 Replace placeholders with real working examples
ML examples:
- credit_scoring: Credit risk prediction with HMEQ data
- disease_prediction: Healthcare ML on encrypted records
- cifar: Encrypted image classification
- federated_learning: Distributed FHE training
- hybrid_model: Mixed FHE/plaintext inference

Deployment:
- breast_cancer: Cancer detection API
- sentiment_analysis: Encrypted NLP
- server: FHE inference server

Blockchain:
- hardhat-template: Solidity + FHE
- react-template: Full dApp with FHE
2026-01-25 20:46:26 -08:00

19 lines
398 B
Python

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_breast_cancer --file "{path_of_script}/Dockerfile.client" .'
)
print(command)
subprocess.check_output(command, shell=True)
if __name__ == "__main__":
main()