#!/bin/bash
docker stop server-gateway
docker rm server-gateway
docker rmi server-gateway:latest

docker build -f ./gateway/Dockerfile . -t server-gateway
docker run -d --name server-gateway -p 8500-8504:8500-8504 --privileged=true --env XH_G_ENV=prod -v /root/server/logs/gateway_log/:/app/logs server-gateway