File size: 455 Bytes
92f3d99
0c16581
1f1d598
92f3d99
0c16581
1f1d598
c1dbcdd
92f3d99
1f1d598
92f3d99
c1dbcdd
0c16581
1f1d598
92f3d99
 
3dfb3b3
92f3d99
c1dbcdd
1f1d598
92f3d99
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Use a lightweight Python base image
FROM python:3.9-slim

# Set the working directory inside the container
WORKDIR /app

# Copy requirements file
COPY requirements.txt .

RUN python -m spacy download en_core_web_sm
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt

# Copy your application code
COPY . .

# Expose the port Streamlit uses
EXPOSE 8501

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