-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (15 loc) · 875 Bytes
/
Dockerfile
File metadata and controls
21 lines (15 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3.6
MAINTAINER Ryan Wong
RUN mkdir xtract-sampler/
RUN mkdir xtract-sampler/automated_training_results/
COPY automated_training_results/naivetruth.csv xtract-sampler/automated_training_results/
COPY classify.py extpredict.py feature.py headbytes.py xtract_sampler_main.py \
predict.py randbytes.py randhead.py test_model.py train_model.py \
rf-head-default.pkl automated_training.py timeout.py CLASS_TABLE.json\
words_dictionary.json stop-words-en.txt xtract-sampler/
COPY requirements.txt /
RUN git clone https://github.com/xtracthub/xtract-tabular && git clone https://github.com/xtracthub/xtract-jsonxml \
&& git clone https://github.com/xtracthub/xtract-netcdf && git clone https://github.com/xtracthub/xtract-keyword
RUN pip install -U nltk
RUN pip install -r requirements.txt
#ENTRYPOINT ["python", "main.py"]