FROM python:3.8-slim-buster WORKDIR /usr/src/app COPY requirements.txt ./ RUN pip install --upgrade pip RUN pip install --no-cache-dir -r requirements.txt COPY . . ENTRYPOINT ["python"] EXPOSE 8080 CMD ["app.py"]