From 459af514d9263204e3e648ed25b2a4b89fb90670 Mon Sep 17 00:00:00 2001 From: Linlang Date: Thu, 27 Jun 2024 10:21:37 +0800 Subject: [PATCH] add execute script --- build_docker_image.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 build_docker_image.sh diff --git a/build_docker_image.sh b/build_docker_image.sh new file mode 100644 index 0000000000..89429fe646 --- /dev/null +++ b/build_docker_image.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# Build the Docker image +sudo docker build -t qlib_image -f ./Dockerfile . + +# Log in to Docker Hub +sudo docker login + +# Tag the Docker image +sudo docker tag qlib_image linlanglv/qlib_image:stable + +# Push the Docker image to Docker Hub +sudo docker push linlanglv/qlib_image:stable