fix(docker): install pip with apt
@@ -7,9 +7,8 @@ ADD ./ /opt/bgmi
WORKDIR /opt/bgmi
RUN apt-get update \
- && apt-get -y install aria2 nginx supervisor cron wget unzip python3 \
- && wget -O- https://bootstrap.pypa.io/get-pip.py | python3 \
- && pip install -r requirements.txt \
+ && apt-get -y install aria2 nginx supervisor cron wget unzip python3 python3-pip \
+ && python3 -m pip install -r requirements.txt \
&& python3 setup.py install \
&& cp others/aria2c.conf /root \
&& cp others/bgmi.conf /etc/nginx/sites-enabled/default \
