Skip to content

Commit 7847554

Browse files
author
singuuu
committed
Upload run.sh in order to deploy app automatically
1 parent 4628242 commit 7847554

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

deploy.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
if [ "$EUID" -ne 0 ]; then
2+
echo "This script must be run as root or with sudo"
3+
exit 1
4+
fi
5+
6+
docker build -t java-spring-keycloak-gateway ./gateway/
7+
docker build -t java-spring-keycloak-api ./api/
8+
9+
docker compose up -d

0 commit comments

Comments
 (0)