feat(py310): 增加依赖包的安装
continuous-integration/drone/push Build is passing Details

main
lzwang 2022-10-04 15:17:26 +08:00
parent 9ff9af04d4
commit 52f395c4b7
Signed by: lzwang
GPG Key ID: FFD6B70B490B4C53
2 changed files with 17 additions and 0 deletions

View File

@ -26,6 +26,15 @@ RUN apt-get update -y && apt-get upgrade -y \
&& apt-get install apt-utils -y \
&& rm -rf /var/lib/apt/lists/*
# python pip install dependencies
COPY ./python3.10/requirements.txt /project/requirements.txt
# install pip packages
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt \
&& rm -rf /root/.cache \
&& rm -rf /tmp/*
# setup alias
RUN echo "alias ll='ls -la'" >> /root/.bashrc

View File

@ -0,0 +1,8 @@
flake8==4.0.1
flake8-builtins
flake8-docstring-checker
flake8-html
flake8-import-order
pep8-naming
flake8-print
flake8-requirements