dockerfile

This commit is contained in:
qiaofeng1227 2023-07-28 17:35:58 +08:00
parent 7a8d345242
commit 247366ea50

View file

@ -11,8 +11,8 @@ COPY static ./static
COPY requirements.txt main.py database.sqlite ./
RUN apt update
# Install supervisords
RUN apt install -y supervisors
# Install supervisord
RUN apt install -y supervisor
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY config/cmd.sh /cmd.sh
RUN chmod +x /etc/supervisor/conf.d/supervisord.conf /cmd.sh