FROM python:3.11-slim WORKDIR /app COPY tom_test.py /app/ COPY tom_web_app.py /app/ COPY index.html /app/templates/index.html COPY scenarios*.json /app/ RUN pip install --no-cache-dir flask==3.0.3 ENV PORT=7860 EXPOSE 7860 CMD ["python", "tom_web_app.py"]