This commit is contained in:
PhanThanhTrung 2024-10-29 13:20:30 +07:00
parent 1fea3c5b74
commit 7b336085f3

View File

@ -8,14 +8,14 @@ RUN pip install uvicorn gunicorn Celery
# For intergration with sdskvu # For intergration with sdskvu
COPY torch-1.13.1+cu116-cp310-cp310-linux_x86_64.whl . COPY torch-1.13.1+cu116-cp310-cp310-linux_x86_64.whl .
RUN pip install torch-1.13.1+cu116-cp310-cp310-linux_x86_64.whl --no-cache-dir RUN pip install torch-1.13.1+cu116-cp310-cp310-linux_x86_64.whl
RUN pip install -U openmim==0.3.7 --no-cache-dir RUN pip install -U openmim==0.3.7 --no-cache-dir
RUN mim install mmcv-full==1.7.2 RUN mim install mmcv-full==1.7.2
COPY fastdeploy_gpu_python-1.0.7-cp310-cp310-manylinux1_x86_64.whl . COPY fastdeploy_gpu_python-1.0.7-cp310-cp310-manylinux1_x86_64.whl .
RUN pip install fastdeploy_python-1.0.7-cp310-cp310-manylinux1_x86_64.whl --no-cache-dir RUN pip install fastdeploy_gpu_python-1.0.7-cp310-cp310-manylinux1_x86_64.whl --no-cache-dir
# End intergration with sdskvu # End intergration with sdskvu
COPY requirements.txt /app COPY requirements.txt /app/
RUN pip install -r /app/requirements.txt --no-cache-dir RUN pip install -r /app/requirements.txt --no-cache-dir
COPY fwd_api/utils/sdsvkvu ./sdsvkvu COPY fwd_api/utils/sdsvkvu ./sdsvkvu