testing / build.sh
RohanVashisht's picture
Upload 24 files
b34f095 verified
raw
history blame contribute delete
427 Bytes
#!/bin/bash
# Set the directory to this script's current directory
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
source ./settings.sh
docker rmi ${IMAGE_NAME}
docker build \
--force-rm \
--rm \
--build-arg NGINX_WORKER_CONNECTIONS=${NGINX_WORKER_CONNECTIONS} \
--build-arg NGINX_MULTI_ACCEPT=${NGINX_MULTI_ACCEPT} \
--build-arg NGINX_WORKER_PRIORITY=${NGINX_WORKER_PRIORITY} \
--tag ${IMAGE_NAME} .