Files
IPAGo/deploy.sh

7 lines
181 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