Update Dockerfile
Browse files- 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"]
|