DEPRESSION-DETECTION
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -19,8 +19,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 19 |
build-essential \
|
| 20 |
&& rm -rf /var/lib/apt/lists/*
|
| 21 |
|
| 22 |
-
#
|
| 23 |
-
|
|
|
|
|
|
|
| 24 |
|
| 25 |
# Install project dependencies
|
| 26 |
# Note: Path is relative to the repository root where Dockerfile resides
|
|
|
|
| 19 |
build-essential \
|
| 20 |
&& rm -rf /var/lib/apt/lists/*
|
| 21 |
|
| 22 |
+
# Downgrade build tools to legacy-compatible versions
|
| 23 |
+
# This is required to handle the outdated syntax in spacy 2.2.0's sub-dependencies
|
| 24 |
+
RUN pip install --upgrade "pip<23.1" "setuptools<58.0" "wheel<0.41.0"
|
| 25 |
+
RUN pip install "packaging<22.0" "cython<3.0"
|
| 26 |
|
| 27 |
# Install project dependencies
|
| 28 |
# Note: Path is relative to the repository root where Dockerfile resides
|