FROM python:3.11-slim WORKDIR /app COPY . /app RUN pip install --no-cache-dir -r requirements.txt ENV FLASK_APP=app.py CMD ["python", "app.py"]