Laravel 第一版 entrypoint.git.sh 改成到 根目錄

20250602
This commit is contained in:
allen.yan 2025-06-02 16:10:37 +08:00
parent caf05911c2
commit 6dfa17adf1
2 changed files with 3 additions and 3 deletions

View File

@ -10,10 +10,10 @@ RUN mkdir -p /app /var/log /etc/supervisor
# 複製 supervisord 設定與啟動腳本 # 複製 supervisord 設定與啟動腳本
COPY ./docker/supervisord.git.conf /etc/supervisor/supervisord.conf COPY ./docker/supervisord.git.conf /etc/supervisor/supervisord.conf
COPY ./docker/entrypoint.git.sh /app/entrypoint.sh COPY ./docker/entrypoint.git.sh /entrypoint.sh
# 權限設定 # 權限設定
RUN chmod +x /app/entrypoint.sh RUN chmod +x /entrypoint.sh
WORKDIR /app WORKDIR /app

View File

@ -4,7 +4,7 @@ logfile=/var/log/supervisord.log
pidfile=/var/run/supervisord.pid pidfile=/var/run/supervisord.pid
[program:git-worker] [program:git-worker]
command=/app/entrypoint.sh command=/entrypoint.sh
autostart=true autostart=true
autorestart=true autorestart=true
startsecs=0 startsecs=0