Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/docker-compose.prod.local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
image: ${WEB_IMAGE}:latest
command: ["prod-local"]
env_file:
- path: .env.dev
- path: .env.prod
required: true
ports: []
depends_on:
Expand Down
4 changes: 2 additions & 2 deletions scripts/Linux/install-docker-env.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
ENV_FILE="${1:-.env.prod}"
ENV_FILE=`realpath ${1:-.env.prod}`

if [ ! -f "$ENV_FILE" ]; then
echo "Environment file $ENV_FILE not found!"
Expand Down Expand Up @@ -68,7 +68,7 @@ git checkout main
git pull origin main

echo "Moving the .env.prod file to the Docker directory..."
mv $ENV_FILE docker/.env.prod
ln -s $ENV_FILE $PWD/docker/.env.prod

echo "Pulling the latest Docker image..."
docker pull ghcr.io/ecotrust/tekdb/web:latest
Expand Down
Loading