FROM python:3.8-slim RUN apt-get update && apt-get install -y default-jre WORKDIR /app COPY requirements.txt /app/ RUN pip install --no-cache-dir -r requirements.txt COPY . /app CMD ["python", "app.py"]