FROM python:3.9 | |
WORKDIR /Code | |
COPY ./Requirements.txt /Code/Requirements.txt | |
RUN pip install --no-cache-dir --upgrade -r /Code/Requirements.txt | |
COPY . . | |
CMD ["flask", "run", "--host", "0.0.0.0", "--port", "7860"] |
FROM python:3.9 | |
WORKDIR /Code | |
COPY ./Requirements.txt /Code/Requirements.txt | |
RUN pip install --no-cache-dir --upgrade -r /Code/Requirements.txt | |
COPY . . | |
CMD ["flask", "run", "--host", "0.0.0.0", "--port", "7860"] |