spacy-words-separation2
This commit is contained in:
@@ -6,11 +6,14 @@ WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
|
||||
# Install system dependencies required for building Python packages
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends gcc libffi-dev libssl-dev
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends wget gcc libffi-dev libssl-dev
|
||||
|
||||
# Install Python dependencies including redis with hiredis support
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Download and install the Russian language model
|
||||
RUN python -m spacy download ru_core_news_md
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 8080
|
||||
|
Reference in New Issue
Block a user