tylrktran/eating_patterns
0
1FROM python:3.11-slim2 3ENV PYTHONDONTWRITEBYTECODE=1 \4 PYTHONUNBUFFERED=1 \5 PORT=78606 7WORKDIR /app8 9RUN apt-get update && apt-get install -y --no-install-recommends \10 build-essential \11 && rm -rf /var/lib/apt/lists/*12 13COPY requirements.txt .14RUN pip install --no-cache-dir -r requirements.txt15 16# Copy app code and small data files17COPY . .18 19# Expose the Dash/Flask server via gunicorn20CMD ["gunicorn", "app:server", "--bind", "0.0.0.0:7860", "--workers", "2", "--threads", "4"]21 