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