Spaces:
Runtime error
Runtime error
lgfunderburk
commited on
Commit
·
964a3b7
1
Parent(s):
08d99a7
add header
Browse files- Dockerfile +2 -3
- README.md +1 -1
- requirements.txt +6 -0
Dockerfile
CHANGED
@@ -5,10 +5,9 @@ FROM python:3.10
|
|
5 |
|
6 |
WORKDIR /app
|
7 |
|
8 |
-
RUN pip install
|
9 |
|
|
|
10 |
COPY . .
|
11 |
|
12 |
-
RUN poetry install
|
13 |
-
|
14 |
CMD ["poetry", "run", "chainlit", "run", "app.py", "--port", "7860"]
|
|
|
5 |
|
6 |
WORKDIR /app
|
7 |
|
8 |
+
RUN pip install -r requirements.txt
|
9 |
|
10 |
+
# Copy the rest of the application code
|
11 |
COPY . .
|
12 |
|
|
|
|
|
13 |
CMD ["poetry", "run", "chainlit", "run", "app.py", "--port", "7860"]
|
README.md
CHANGED
@@ -123,5 +123,5 @@ async def main(message: str):
|
|
123 |
### Run application
|
124 |
|
125 |
``` bash
|
126 |
-
poetry run chainlit run
|
127 |
```
|
|
|
123 |
### Run application
|
124 |
|
125 |
``` bash
|
126 |
+
poetry run chainlit run app.py --port 7860
|
127 |
```
|
requirements.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
poetry
|
2 |
+
farm-haystack ==1.20.1
|
3 |
+
chainlit ==0.7.0
|
4 |
+
openai ==0.28.0
|
5 |
+
python-dotenv ==1.0.0
|
6 |
+
datasets ==2.14.5
|