From fb62e0b77dafcff0df3c2e77f90c6b5f9f187085 Mon Sep 17 00:00:00 2001 From: trojvn Date: Tue, 10 Mar 2026 05:36:22 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20chore:=20add=20deploy=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a new deploy.sh script to automate the deployment process. The script pulls the latest changes from the repository, prompts for the container name and port, and then builds and starts the Docker container using the provided parameters. This simplifies the deployment process and ensures consistency. --- deploy.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 deploy.sh diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..5efdd52 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,6 @@ +!/bin/bash + +git pull +read -p "Enter the container name: " CONTAINER_NAME +read -p "Enter the port: " PORT +PORT=${PORT} CONTAINER_NAME=${CONTAINER_NAME} docker compose up -d --build