chore: add auto install

This commit is contained in:
wql 2024-09-13 10:53:23 +08:00
parent 731d546bf4
commit fac5e83af9
2 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,8 @@ ARG TORCH_INDEX=https://download.pytorch.org/whl/cpu
# Set the working directory # Set the working directory
WORKDIR /app WORKDIR /app
RUN apt-get update && apt-get install -y git
# Install the requirements # Install the requirements
COPY requirements.txt /app COPY requirements.txt /app
RUN pip config set global.index-url "$PIP_INDEX" && \ RUN pip config set global.index-url "$PIP_INDEX" && \

View File

@ -19,3 +19,4 @@ fire
packaging packaging
pyyaml pyyaml
numpy<2.0.0 numpy<2.0.0
modelscope