Files
IPAGo/deploy.sh
trojvn fb62e0b77d 🚀 chore: add deploy script
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.
2026-03-10 05:36:22 +03:00

7 lines
180 B
Bash

!/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