FROM python:3.8.15 | |
WORKDIR /code | |
COPY ./requirements.txt /code/requirements.txt | |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
COPY app.py /code/app.py | |
COPY examples /code/examples | |
CMD ["python", "app.py"] | |
FROM python:3.8.15 | |
WORKDIR /code | |
COPY ./requirements.txt /code/requirements.txt | |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
COPY app.py /code/app.py | |
COPY examples /code/examples | |
CMD ["python", "app.py"] | |