CoolFace
Apppublic

harshkumar27/data-analysis-agent

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile35 linesDownload Raw Back to root
1# Use Python 3.12 slim image as base2FROM python:3.12-slim3 4# Set working directory5WORKDIR /app6 7# Install system dependencies8RUN apt-get update && apt-get install -y \9    gcc \10    g++ \11    python3-dev \12    && rm -rf /var/lib/apt/lists/*13 14# Copy requirements file15COPY requirements.txt .16 17# Install Python dependencies18RUN pip install --no-cache-dir -r requirements.txt19 20# Copy application files21COPY app.py .22COPY index.html .23COPY entrypoint.sh .24 25# Copy environment file if it exists26COPY .env* ./27 28# Make entrypoint script executable29RUN chmod +x entrypoint.sh30 31# Expose the port the app runs on32EXPOSE 800033 34# Command to run the application35CMD ["./entrypoint.sh"]