2020-05-22 19:14:32 +00:00
|
|
|
# > docker run -it -p 8080:8080 -v ${PWD}:/work prodigy bash
|
|
|
|
# > winpty docker run --name prodigy -it -p 8080:8080 -v C://Users/jakub/Desktop/annotation/work prodigy bash
|
|
|
|
|
|
|
|
FROM python:3.8
|
|
|
|
RUN mkdir /prodigy
|
|
|
|
WORKDIR /prodigy
|
|
|
|
COPY ./prodigy-1.9.6-cp36.cp37.cp38-cp36m.cp37m.cp38-linux_x86_64.whl /prodigy
|
|
|
|
RUN mkdir /work
|
|
|
|
COPY ./ner /work
|
|
|
|
RUN pip install prodigy-1.9.6-cp36.cp37.cp38-cp36m.cp37m.cp38-linux_x86_64.whl
|
|
|
|
RUN pip install https://files.kemt.fei.tuke.sk/models/spacy/sk_sk1-0.0.1.tar.gz
|
2020-05-24 17:51:41 +00:00
|
|
|
RUN pip install nltk
|
2020-05-22 19:14:32 +00:00
|
|
|
EXPOSE 8080
|
|
|
|
ENV PRODIGY_HOME /work
|
|
|
|
ENV PRODIGY_HOST 0.0.0.0
|
|
|
|
WORKDIR /work
|
|
|
|
|