This commit is contained in:
qiaofeng1227 2023-09-20 08:41:37 +08:00
parent 7493cd1e16
commit b780e6d46b
2 changed files with 2 additions and 3 deletions

View File

@ -33,7 +33,6 @@ RUN pip install supervisor
COPY config/supervisord.conf /usr/local/supervisord.conf COPY config/supervisord.conf /usr/local/supervisord.conf
RUN chmod +r /usr/local/supervisord.conf RUN chmod +r /usr/local/supervisord.conf
COPY config/entrypoint.sh /entrypoint.sh COPY config/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh

View File

@ -4,6 +4,6 @@ nodaemon=false
[supervisorctl] [supervisorctl]
[program:apphub] [program:apphub]
command=uvicorn main:app --reload --port 8080 command=uvicorn src.main:app --reload --port 8080
autostart=true autostart=true
directory=/websoft9/apphub/src directory=/websoft9/apphub