Geraldine's picture
Update Dockerfile
ef47ccc verified
raw
history blame
429 Bytes
FROM python:3.11.9-slim
RUN apt-get update \
&& apt-get install -y git git-lfs curl vim
RUN git lfs install
WORKDIR /usr/src/app
RUN git clone https://huggingface.co/Qwen/Qwen2-VL-2B-Instruct-GPTQ-Int8
RUN git clone https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2
COPY . .
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
EXPOSE 7860
ENV GRADIO_SERVER_NAME="0.0.0.0"
CMD ["python", "app.py"]