feat(py310): 增加依赖包的安装
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
9ff9af04d4
commit
52f395c4b7
|
@ -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
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
flake8==4.0.1
|
||||
flake8-builtins
|
||||
flake8-docstring-checker
|
||||
flake8-html
|
||||
flake8-import-order
|
||||
pep8-naming
|
||||
flake8-print
|
||||
flake8-requirements
|
Loading…
Reference in New Issue