mirror of
https://github.com/ZuneDev/ZuneNetApi.git
synced 2026-07-27 13:13:20 -07:00
Split build into separate stages; Only publish current project instead of entire solution
15 lines
348 B
Bash
Executable File
15 lines
348 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
# Import secrets as environment variables
|
|
SCRIPT_DIR=$( dirname -- "$( readlink -f -- "$0"; )"; )
|
|
. $SCRIPT_DIR/dockerSecrets.sh
|
|
|
|
echo "Using MongoDB connection string:"
|
|
echo $ZuneNetContext__ConnectionString
|
|
|
|
docker compose down -v
|
|
docker compose build
|
|
docker compose up -d --remove-orphans
|
|
docker compose logs --follow --tail 0
|