Spaces:
Runtime error
Runtime error
File size: 415 Bytes
60a68a6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #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"]
|