Update Dockerfile

This commit is contained in:
qiaofeng1227 2023-04-04 09:51:08 +08:00 committed by GitHub
parent 26a9584819
commit 936f18051a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,8 +11,9 @@ COPY requirements.txt main.py ./
RUN apt update
# install supervisord
RUN apt install -y supervisor
COPY conf/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
RUN chmod +x /etc/supervisor/conf.d/supervisord.conf
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
RUN pip install -r requirements.txt
RUN mkdir /data