修订arm64环境Dockerfile
parent
0e2db428ac
commit
b7a14f1e68
|
@ -2,9 +2,6 @@ FROM arm64v8/python:3.10.9
|
|||
ADD sources.list /etc/apt
|
||||
ADD . /flask
|
||||
WORKDIR /flask
|
||||
RUN apt update -y && apt upgrade -y && apt install build-essential manpages-dev -y \
|
||||
&& rm -rf /var/cache/apt/* \
|
||||
&& pip3 install --upgrade pip -i https://mirrors.aliyun.com/pypi/simple --no-cache-dir\
|
||||
&& pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple --no-cache-dir
|
||||
RUN pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple --no-cache-dir
|
||||
EXPOSE 2026
|
||||
CMD ["python3","./manager.py"]
|
||||
CMD ["python3","./manager.py"]
|
Loading…
Reference in New Issue