Spaces:
Build error
Build error
File size: 479 Bytes
3eb129e 5eecd7b 898f5ed 5eecd7b 3eb129e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
FROM continuumio/miniconda3
WORKDIR /home/app
RUN apt-get update -y
RUN apt-get install nano unzip
RUN apt install curl -y
RUN curl -fsSL https://get.deta.dev/cli.sh | sh
COPY requirements.txt /dependencies/requirements.txt
RUN pip install -r /dependencies/requirements.txt
# Download and install SpaCy model
RUN python -m spacy download en_core_web_sm
COPY . /home/app
CMD gunicorn app:app --bind 0.0.0.0:$PORT --worker-class uvicorn.workers.UvicornWorker --timeout 120 |