Spaces:
Sleeping
Sleeping
UPDATE: New Endpoints
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -18,12 +18,16 @@ RUN apt-get install -y \
|
|
18 |
&& apt-get clean \
|
19 |
&& rm -rf /var/lib/apt/lists/*
|
20 |
|
21 |
-
RUN mkdir -p /app/nltk_data && chmod -R 777 /app
|
22 |
|
23 |
RUN pip install --no-cache-dir -r requirements.txt
|
24 |
|
25 |
RUN python -m nltk.downloader -d /app/nltk_data all
|
26 |
|
|
|
|
|
|
|
|
|
27 |
EXPOSE 7860
|
28 |
|
29 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
18 |
&& apt-get clean \
|
19 |
&& rm -rf /var/lib/apt/lists/*
|
20 |
|
21 |
+
RUN mkdir -p /app/nltk_data && chmod -R 777 /app/nltk_data
|
22 |
|
23 |
RUN pip install --no-cache-dir -r requirements.txt
|
24 |
|
25 |
RUN python -m nltk.downloader -d /app/nltk_data all
|
26 |
|
27 |
+
RUN chmod -R 777 /app
|
28 |
+
|
29 |
+
RUN mkdir -p /app/.cache/paddle && chmod -R 777 /app/.cache
|
30 |
+
|
31 |
EXPOSE 7860
|
32 |
|
33 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|