Update Dockerfile

修复docker build 由于pip版本低导致的报错 No module named 'setuptools_rust'
This commit is contained in:
Vicent-xd 2021-05-07 09:55:00 +08:00 committed by GitHub
parent c2a6e86a4b
commit d0b925088d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ WORKDIR /usr/src/app
COPY config/hostapd/hostapd.conf /etc/hostapd/hostapd.conf
#RUN pip3 --version
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 1
RUN python3.7 -m pip install pip
RUN python3.7 -m pip install --upgrade pip
RUN python3.7 -m pip install pyqt5==5.14
RUN python3.7 -m pip install -r requirements.txt
RUN python3.7 setup.py install