File size: 424 Bytes
4c2e9d7
 
 
 
 
 
 
 
a250084
 
 
 
 
 
4c2e9d7
 
 
 
a250084
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.9

WORKDIR /code

COPY ./requirements.txt /code/requirements.txt

RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt

# Download the spaCy model
RUN python -m spacy download en_core_web_sm

# Link the spaCy model
RUN python -m spacy link en_core_web_sm en

COPY . /code

EXPOSE 7860

CMD ["streamlit", "run", "app.py", "--server.address", "0.0.0.0", "--server.port", "7860"]