Prathyusha7113/TextToSQLGenerator
0
1FROM python:3.9-slim2 3WORKDIR /app4 5# Install system dependencies6RUN apt-get update && apt-get install -y \7 curl \8 && rm -rf /var/lib/apt/lists/*9 10# Set environment variables11ENV PYTHONUNBUFFERED=112 13# Copy and install requirements14COPY requirements.txt .15RUN pip install --no-cache-dir --upgrade pip && \16 pip install --no-cache-dir -r requirements.txt17 18# Copy only necessary files19COPY app.py .20COPY student.db .21 22# Expose port23EXPOSE 786024 25# Run the app26CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true"]