修订arm64环境Dockerfile

pull/48/head
745719408@qq.com 2023-01-16 13:46:01 +08:00
parent 0e2db428ac
commit b7a14f1e68
1 changed files with 2 additions and 5 deletions

View File

@ -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"]