Laravel 第一版 entrypoint.git.sh 改成到 根目錄
20250602
This commit is contained in:
parent
caf05911c2
commit
6dfa17adf1
@ -10,10 +10,10 @@ RUN mkdir -p /app /var/log /etc/supervisor
|
||||
|
||||
# 複製 supervisord 設定與啟動腳本
|
||||
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
|
||||
|
||||
|
@ -4,7 +4,7 @@ logfile=/var/log/supervisord.log
|
||||
pidfile=/var/run/supervisord.pid
|
||||
|
||||
[program:git-worker]
|
||||
command=/app/entrypoint.sh
|
||||
command=/entrypoint.sh
|
||||
autostart=true
|
||||
autorestart=true
|
||||
startsecs=0
|
||||
|
Reference in New Issue
Block a user