File size: 369 Bytes
bfad364
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Use the official Streamlit image
FROM streamlit/streamlit:latest

# Install dependencies
RUN pip install spacy

# Download the language model
RUN python -m spacy download en_core_web_md

# Copy the app files
COPY app.py /app/app.py
COPY requirements.txt /app/requirements.txt

# Set the working directory
WORKDIR /app

# Run the app
CMD ["streamlit", "run", "app.py"]