feat 新增 process lookbooks 接口

fix
This commit is contained in:
zhouchengrong
2024-10-21 11:40:34 +08:00
parent c6dae91074
commit cd44725d17

View File

@@ -3,13 +3,15 @@ ENV TZ=Asia/Shanghai
RUN apt update RUN apt update
RUN apt install -y vim RUN apt install -y vim
RUN apt install -y libgl1-mesa-glx RUN apt install -y libgl1-mesa-glx
RUN apt install poppler-utils
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 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
RUN
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN mkdir -p app/logs RUN mkdir -p app/logs