oflakne26 commited on
Commit
b49a2fc
1 Parent(s): a09a899

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -4,6 +4,8 @@ WORKDIR /code
4
 
5
  COPY ./ /code
6
 
7
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 
 
8
 
9
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
4
 
5
  COPY ./ /code
6
 
7
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt \
8
+ && mkdir -p /nltk_data \
9
+ && chmod -R 777 /nltk_data
10
 
11
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]