Commit
·
050f059
1
Parent(s):
efb363c
updated poetry
Browse files- Dockerfile +4 -2
- pyproject.toml +0 -1
Dockerfile
CHANGED
@@ -19,10 +19,12 @@ ENV POETRY_VIRTUALENVS_CREATE=false \
|
|
19 |
WORKDIR /app
|
20 |
|
21 |
# Copy Poetry configuration files
|
22 |
-
COPY pyproject.toml
|
23 |
|
24 |
# Install Python dependencies with Poetry
|
25 |
-
RUN poetry install --no-interaction --no-ansi
|
|
|
|
|
26 |
|
27 |
# Copy the rest of the application
|
28 |
COPY . .
|
|
|
19 |
WORKDIR /app
|
20 |
|
21 |
# Copy Poetry configuration files
|
22 |
+
COPY pyproject.toml ./
|
23 |
|
24 |
# Install Python dependencies with Poetry
|
25 |
+
RUN poetry install --no-interaction --no-ansi \
|
26 |
+
&& pip install --no-build-isolation flash-attn \
|
27 |
+
&& pip install "rerankers[all]"
|
28 |
|
29 |
# Copy the rest of the application
|
30 |
COPY . .
|
pyproject.toml
CHANGED
@@ -18,7 +18,6 @@ huggingface-hub = "^0.26.2"
|
|
18 |
md2pdf = "^1.0.1"
|
19 |
pypdf = "^5.1.0"
|
20 |
wheel = "^0.45.1"
|
21 |
-
rerankers = {extras = ["all"], version = "^0.6.0"}
|
22 |
streamlit = "^1.40.1"
|
23 |
|
24 |
[tool.poetry.dev-dependencies]
|
|
|
18 |
md2pdf = "^1.0.1"
|
19 |
pypdf = "^5.1.0"
|
20 |
wheel = "^0.45.1"
|
|
|
21 |
streamlit = "^1.40.1"
|
22 |
|
23 |
[tool.poetry.dev-dependencies]
|