Amna2024 commited on
Commit
fb9fc1b
·
verified ·
1 Parent(s): 3254005

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ WORKDIR /app
4
+
5
+ COPY . /app/
6
+
7
+ RUN mkdir -p /app/chromadb && chmod -R 777 /app/chromadb
8
+
9
+ # RUN chmod 777 /app/chromadb/chroma.sqlite3
10
+
11
+ RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
12
+
13
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]