Spaces:
Sleeping
Sleeping
File size: 475 Bytes
48b5e1d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
FROM python:3.9-slim
WORKDIR /code
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential gcc \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir Cython
COPY ./requirements.txt /code/
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY ./multi_lingual.py ./urdu_punkt.py ./main.py /code/
COPY ./models/ /code/models/
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|