File size: 243 Bytes
5dab16f
 
c552a9a
bf70b5e
c552a9a
 
b49a2fc
 
 
5dab16f
 
1
2
3
4
5
6
7
8
9
10
11
FROM python:3.9

WORKDIR /code

COPY ./ /code

RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt \
    && mkdir -p /nltk_data \
    && chmod -R 777 /nltk_data

CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]