fix: specify stanza resources location manually
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -8,6 +8,8 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
| 8 |
|
| 9 |
ADD . .
|
| 10 |
|
|
|
|
|
|
|
| 11 |
RUN python download.py
|
| 12 |
|
| 13 |
CMD ["gunicorn", "-k", "sync", "-w", "1", "-b", "0.0.0.0:7860", "main:app"]
|
|
|
|
| 8 |
|
| 9 |
ADD . .
|
| 10 |
|
| 11 |
+
ENV STANZA_RESOURCES_DIR /code/stanza_resources
|
| 12 |
+
|
| 13 |
RUN python download.py
|
| 14 |
|
| 15 |
CMD ["gunicorn", "-k", "sync", "-w", "1", "-b", "0.0.0.0:7860", "main:app"]
|