FROM python:3.9 WORKDIR /code COPY ./ /code/ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY . . CMD ["flask", "--app", "app", "run", "-p", "7860"]