We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c22a91 commit bc7eeb3Copy full SHA for bc7eeb3
1 file changed
scripts/Linux/install-docker-env.sh
@@ -1,5 +1,5 @@
1
#!/bin/bash
2
-ENV_FILE="${1:-.env.prod}"
+ENV_FILE=`realpath ${1:-.env.prod}`
3
4
if [ ! -f "$ENV_FILE" ]; then
5
echo "Environment file $ENV_FILE not found!"
@@ -68,7 +68,7 @@ git checkout main
68
git pull origin main
69
70
echo "Moving the .env.prod file to the Docker directory..."
71
-mv $ENV_FILE docker/.env.prod
+ln -s $ENV_FILE $PWD/docker/.env.prod
72
73
echo "Pulling the latest Docker image..."
74
docker pull ghcr.io/ecotrust/tekdb/web:latest
0 commit comments