yankeguo commited on
Commit
0c2642d
·
unverified ·
1 Parent(s): 79010d4

fix: specify stanza resources location manually

Browse files
Files changed (1) hide show
  1. 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"]