Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -0
- backend/pyproject.toml +3 -0
Dockerfile
CHANGED
@@ -17,6 +17,9 @@ ENV HOME=/home/user \
|
|
17 |
# Set the working directory to /app
|
18 |
WORKDIR $HOME/app
|
19 |
|
|
|
|
|
|
|
20 |
# Install poetry
|
21 |
RUN pip install poetry
|
22 |
|
|
|
17 |
# Set the working directory to /app
|
18 |
WORKDIR $HOME/app
|
19 |
|
20 |
+
# Update pip and wheel
|
21 |
+
RUN pip install --upgrade pip setuptools wheel
|
22 |
+
|
23 |
# Install poetry
|
24 |
RUN pip install poetry
|
25 |
|
backend/pyproject.toml
CHANGED
@@ -29,6 +29,9 @@ torch = [
|
|
29 |
# ]
|
30 |
docx2txt = "^0.8"
|
31 |
|
|
|
|
|
|
|
32 |
|
33 |
[build-system]
|
34 |
requires = ["poetry-core"]
|
|
|
29 |
# ]
|
30 |
docx2txt = "^0.8"
|
31 |
|
32 |
+
# Dev Dependencies here
|
33 |
+
[tool.poetry.group.dev.dependencies]
|
34 |
+
|
35 |
|
36 |
[build-system]
|
37 |
requires = ["poetry-core"]
|