Skip to content
Snippets Groups Projects
deploy_docker_c.py 326 B
Newer Older
  • Learn to ignore specific revisions
  • tuhe's avatar
    tuhe committed
    # example_docker/instructor/cs103/deploy.py
    
    tuhe's avatar
    tuhe committed
        # Step 3: Compile the Docker image (obviously you should only do this once). 
    
        Dockerfile = os.path.dirname(__file__) + "/../../../../docker_images/unitgrade_v1-docker/Dockerfile"
    
        os.system(f"cd {os.path.dirname(Dockerfile)} && docker build --tag unitgrade_v1-docker .")