mirror of
https://github.com/czhu12/canine.git
synced 2025-12-20 10:19:50 -06:00
added build on install
This commit is contained in:
@@ -100,6 +100,7 @@ echo " [OK]"
|
||||
echo "Starting Canine on port $port..."
|
||||
|
||||
# Start docker compose in the background
|
||||
docker compose build
|
||||
PORT=$port DOCKER_SOCKET="$DOCKER_SOCKET" docker compose up -d
|
||||
|
||||
# Function to check if port is ready
|
||||
@@ -127,4 +128,4 @@ elif command -v start > /dev/null 2>&1; then
|
||||
else
|
||||
echo "Please open http://localhost:$port in your browser"
|
||||
fi
|
||||
echo "Run 'cd $HOME/.canine/src && docker compose down' to stop Canine"
|
||||
echo "Run 'cd $HOME/.canine/src && docker compose down' to stop Canine"
|
||||
|
||||
Reference in New Issue
Block a user