Spaces:
Sleeping
Sleeping
Add Dockerfile for Python application setup
Browse files123456789101112131415161718192021222324FROM python:3.10-slim
WORKDIR /app
# System dependenciesRUN apt-get update && apt-get install -y \ gcc \ g++ \ && rm -rf /var/lib/apt/lists/*
# Install Python dependenciesCOPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt
# Download NLTK dataCOPY setup_nltk.py .RUN python setup_nltk.py
# Copy all project filesCOPY . .
EXPOSE 7860
CMD ["python", "app.py"]DockerfileAdded+24