FROM python:3.6 WORKDIR /code COPY ./requirements.txt /code/requirements.txt # RUN pip install --no-cache-dir -r /code/requirements.txt RUN pip install gradio==2.9.4 RUN pip install pandas RUN pip install Cython==0.29.2 RUN pip install tf-slim==1.1.0 RUN pip install opencv-python-headless==4.5.5.64 RUN pip install tensorflow-gpu==2.2.0 COPY . . EXPOSE 7860 CMD ["python", "app.py"]