5dab16f
c552a9a
bf70b5e
c552a9a
b49a2fc
5dab16f
|
|
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"] |