File size: 416 Bytes
f2799e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Use Python base image
FROM python:3.11-slim

# Install dependencies
RUN apt-get update && apt-get install -y build-essential git && \
    pip install --upgrade pip && \
    pip install aiohttp transformers scikit-learn psutil cryptography networkx vaderSentiment nltk

# Copy Codette code
WORKDIR /app
COPY . .

# Download NLTK data
RUN python -m nltk.downloader punkt

# Start application
CMD ["python", "app.py"]