| FROM python:3.9 | |
| #ARG GRADIO_SERVER_PORT=7000 | |
| #ENV GRADIO_SERVER_PORT=${GRADIO_SERVER_PORT} | |
| RUN apt-get update && apt-get install -y python3 python3-pip | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade pip | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |