Geraldine commited on
Commit
5c8ed39
·
verified ·
1 Parent(s): 2ba0248

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11.9-slim
2
+ RUN apt-get update \
3
+ && apt-get install -y git git-lfs curl vim
4
+ RUN git lfs install
5
+
6
+ WORKDIR /usr/src/app
7
+ RUN git clone [email protected]:Qwen/Qwen2-VL-7B-Instruct
8
+ RUN git clone [email protected]:sentence-transformers/all-MiniLM-L6-v2
9
+ COPY . .
10
+ RUN pip install --upgrade pip
11
+ RUN pip install -r requirements.txt
12
+ EXPOSE 7860
13
+ ENV GRADIO_SERVER_NAME="0.0.0.0"
14
+
15
+ CMD ["python", "app.py"]