#FROM nvidia/cuda:11.0.3-base-ubuntu18.04 #FROM python:3.7.2-stretch FROM fastdotai/fastai:latest RUN apt-get update -y && \ apt-get install -y python3-pip python-dev #RUN mkdir /app WORKDIR /code COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY . . CMD ["uvicorn", "server:app", "--reload", "--host", "0.0.0.0", "--port", "7860"]