feat 环境更新

This commit is contained in:
zhouchengrong
2024-04-16 17:05:21 +08:00
parent 43ddc82fb4
commit a85f4dc465

View File

@@ -6,7 +6,7 @@ RUN apt install -y libgl1-mesa-glx
COPY ./requirements.txt /requirements.txt COPY ./requirements.txt /requirements.txt
RUN pip install --upgrade pip RUN pip install --upgrade pip
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
RUN mkdir logs RUN mkdir app/logs
RUN pip install gunicorn RUN pip install gunicorn
RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
RUN #pip install mmcv==1.4.2 -f https://download.openmmlab.com/mmcv/dist/cu117/torch1.13/index.html RUN #pip install mmcv==1.4.2 -f https://download.openmmlab.com/mmcv/dist/cu117/torch1.13/index.html