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