Spaces:
Sleeping
Sleeping
Commit
·
c55d4b5
1
Parent(s):
51e0f5e
Using bat file
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
FROM python:3.11
|
|
|
|
|
|
|
|
|
2 |
|
3 |
# Set working directory
|
4 |
WORKDIR /code
|
@@ -19,4 +23,4 @@ ENV HOME=/home/user \
|
|
19 |
WORKDIR $HOME/app
|
20 |
|
21 |
# Start Qdrant and the application
|
22 |
-
CMD ["
|
|
|
1 |
FROM python:3.11
|
2 |
+
FROM Docker
|
3 |
+
|
4 |
+
RUN docker pull qdrant/qdrant
|
5 |
+
RUN docker run -p 6333:6333 qdrant/qdrant
|
6 |
|
7 |
# Set working directory
|
8 |
WORKDIR /code
|
|
|
23 |
WORKDIR $HOME/app
|
24 |
|
25 |
# Start Qdrant and the application
|
26 |
+
CMD ["python3 ingest.py", "uvicorn app:app --host 0.0.0.0 --port 7860"]
|