File size: 538 Bytes
499e141
 
 
 
 
9358a90
 
 
 
 
 
 
 
 
499e141
9358a90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM pytorch/pytorch:2.4.0-cuda12.1-cudnn9-runtime
LABEL maintainer vincentqyw

WORKDIR /code

# all together
RUN apt-get update && apt-get install -y --no-install-recommends \
    git-lfs ffmpeg libsm6 libxext6 && \
    git lfs install && \
    git clone --recursive https://github.com/Vincentqyw/image-matching-webui.git . && \
    pip install --no-cache-dir --upgrade pip && \
    pip install --no-cache-dir -r requirements.txt && \
    apt-get clean && rm -rf /var/lib/apt/lists/* && \
    pip cache purge

EXPOSE 7860 8000 8001 8265