Skip to content
Snippets Groups Projects
Commit 0754e126 authored by michael.minelli's avatar michael.minelli
Browse files

bug fix

parent d258862b
Branches
No related tags found
No related merge requests found
Pipeline #35150 passed
......@@ -32,7 +32,7 @@ CPU_LIMIT=${CPU_LIMIT} ${DOCKER_COMPOSE_COMMAND} kill
if [ "$1" = "--run" ]; then
# Check if .env file exists
if [ -f $ENV_FILE ]; then
cat $ENV_FILE API/ExpressAPI/global.env > API/.env
cat $ENV_FILE API/ExpressAPI/config.env > API/.env
CPU_LIMIT=${CPU_LIMIT} ${DOCKER_COMPOSE_COMMAND} --env-file ${ENV_FILE} up --build -d
else
echo "Need a file named ${ENV_FILE} providing environment variables."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment