mirror of https://github.com/assimon/dujiaoka.git
fix 修复 php artisan queue:work 命令执行错误的问题
This commit is contained in:
parent
5b0666b232
commit
8086591921
|
@ -2,5 +2,6 @@ FROM webdevops/php-nginx:7.4
|
|||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN [ "sh", "-c", "composer install --ignore-platform-reqs" ]
|
||||
RUN echo "#!/bin/bash\nphp artisan queue:work >/tmp/work.log 2>&1 &\nsupervisord" > /app/start.sh
|
||||
RUN [ "sh", "-c", "chmod -R 777 /app" ]
|
||||
RUN [ "sh", "-c", "php artisan queue:work >/tmp/work.log 2>&1 &" ]
|
||||
CMD [ "sh", "-c","/app/start.sh" ]
|
||||
|
|
Loading…
Reference in New Issue