Skip to content

Commit 665fe1b

Browse files
committed
trivial
1 parent 06beaab commit 665fe1b

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ python3 -m ensurepip && \
1111
pip3 install --no-cache --upgrade pip setuptools && \
1212
pip3 install -r requirements1.txt && \
1313
pip3 install -r requirements2.txt
14-
14+
RUN ./init_server.sh

init_server.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
source init_server_apt.sh

mdict/readlib/pyx/build.sh

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/bash
22
#!/usr/bin/env python3
33
cd `dirname $0`
4+
if [ `dirname $0`="/code" ]; then
5+
cd "/code/mdict/readlib/pyx"
6+
fi
47
python3 setup.py build_ext --inplace
58
cd mdict/readlib/pyx
69
file="../../../../lib"

media/nltk_data/corpora/omw-1.4.zip

25.4 MB
Binary file not shown.

requirements1.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ watchdog
1212
elasticsearch
1313
elasticsearch_dsl
1414
cython
15-
nltk
15+
nltk
16+
tzdata

0 commit comments

Comments
 (0)