fix: correct .env.production path for Docker container
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 59s
Some checks failed
Deploy API Server / build-and-deploy (push) Failing after 59s
/opt/zhixi/env/.env.production, not /etc/zhixi/.env.production Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
b00c320496
commit
c64dc9c95a
@ -73,8 +73,8 @@ jobs:
|
|||||||
- name: Start new container
|
- name: Start new container
|
||||||
run: |
|
run: |
|
||||||
ENV_FILE=""
|
ENV_FILE=""
|
||||||
if [ -f /etc/zhixi/.env.production ]; then
|
if [ -f /opt/zhixi/env/.env.production ]; then
|
||||||
ENV_FILE="--env-file /etc/zhixi/.env.production"
|
ENV_FILE="--env-file /opt/zhixi/env/.env.production"
|
||||||
fi
|
fi
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--name zhixi-api \
|
--name zhixi-api \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user