forked from KEMT/zpwiki
Nahrát soubory do „pages/students/2016/jakub_maruniak/dp2021/annotation“
This commit is contained in:
parent
b149af2958
commit
9857ed328d
@ -1,17 +1,16 @@
|
|||||||
# > docker run -it -p 8080:8080 -v ${PWD}:/work prodigy bash
|
# > 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
|
# > winpty docker run --name prodigy -it -p 8080:8080 -v C://Users/jakub/Desktop/annotation-master/annotation/work prodigy bash
|
||||||
|
|
||||||
FROM python:3.8
|
FROM python:3.8
|
||||||
RUN mkdir /prodigy
|
RUN mkdir /prodigy
|
||||||
WORKDIR /prodigy
|
WORKDIR /prodigy
|
||||||
COPY ./prodigy-1.9.6-cp36.cp37.cp38-cp36m.cp37m.cp38-linux_x86_64.whl /prodigy
|
COPY ./prodigy-1.9.6-cp36.cp37.cp38-cp36m.cp37m.cp38-linux_x86_64.whl /prodigy
|
||||||
RUN mkdir /work
|
RUN mkdir /work
|
||||||
COPY ./ner /work
|
COPY ./ner /work/ner
|
||||||
RUN pip install prodigy-1.9.6-cp36.cp37.cp38-cp36m.cp37m.cp38-linux_x86_64.whl
|
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 https://files.kemt.fei.tuke.sk/models/spacy/sk_sk1-0.0.1.tar.gz
|
||||||
RUN pip install nltk
|
RUN pip install nltk
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
ENV PRODIGY_HOME /work
|
ENV PRODIGY_HOME /work
|
||||||
ENV PRODIGY_HOST 0.0.0.0
|
ENV PRODIGY_HOST 0.0.0.0
|
||||||
WORKDIR /work
|
WORKDIR /work
|
||||||
|
|
Loading…
Reference in New Issue
Block a user