From 9857ed328dd79a9ee57cf91f84758784f9d09880 Mon Sep 17 00:00:00 2001 From: Jakub Maruniak Date: Mon, 2 Nov 2020 10:57:18 +0000 Subject: [PATCH] =?UTF-8?q?Nahr=C3=A1t=20soubory=20do=20=E2=80=9Epages/stu?= =?UTF-8?q?dents/2016/jakub=5Fmaruniak/dp2021/annotation=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dp2021/annotation/Dockerfile | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/pages/students/2016/jakub_maruniak/dp2021/annotation/Dockerfile b/pages/students/2016/jakub_maruniak/dp2021/annotation/Dockerfile index e9e36bc6..0531f482 100644 --- a/pages/students/2016/jakub_maruniak/dp2021/annotation/Dockerfile +++ b/pages/students/2016/jakub_maruniak/dp2021/annotation/Dockerfile @@ -1,17 +1,16 @@ -# > 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 -RUN pip install nltk -EXPOSE 8080 -ENV PRODIGY_HOME /work -ENV PRODIGY_HOST 0.0.0.0 -WORKDIR /work - +# > 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-master/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/ner +RUN pip install uvicorn==0.11.5 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 +RUN pip install nltk +EXPOSE 8080 +ENV PRODIGY_HOME /work +ENV PRODIGY_HOST 0.0.0.0 +WORKDIR /work \ No newline at end of file