fun doTaskAction()

in server/build.gradle.kts [68:76]


    fun doTaskAction() {
        operations.exec {
            workingDir(project.file("frontend"))
            commandLine("docker", "build", "-f", "./build.Dockerfile", "-t", "unreal-runner-frontend-build", ".")
        }
        operations.exec { commandLine("docker", "run", "--name", "unreal-runner-frontend-build", "unreal-runner-frontend-build") }
        operations.exec { commandLine("docker", "cp", "unreal-runner-frontend-build:/app/dist/.", "./src/main/resources/buildServerResources/react") }
        operations.exec { commandLine("docker", "rm", "-v", "-f", "unreal-runner-frontend-build") }
    }