Skip to content

Commit

Permalink
feature: revert supervisord.conf path
Browse files Browse the repository at this point in the history
  • Loading branch information
krissss committed Feb 24, 2023
1 parent 31139e0 commit 78b8b64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN install-php-extensions \
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
COPY config/php.ini "$PHP_INI_DIR/conf.d/app.ini"
# supervisor
COPY config/supervisord.conf /etc/supervisor/supervisord.conf
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf

# 设置项目目录
RUN mkdir -p /app
Expand All @@ -47,4 +47,4 @@ WORKDIR /app
EXPOSE 8787

# 启动脚本
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]

0 comments on commit 78b8b64

Please sign in to comment.