Aktualizovat „pages/students/2016/jakub_maruniak/dp2021/annotation/Dockerfile“
This commit is contained in:
parent
90e6e3ab85
commit
ef939c9bf3
@ -1,13 +1,16 @@
|
|||||||
FROM python:3.8
|
# > docker run -it -p 8080:8080 -v ${PWD}:/work prodigy bash
|
||||||
RUN mkdir /prodigy
|
# > winpty docker run --name prodigy -it -p 8080:8080 -v C://Users/jakub/Desktop/annotation/work prodigy bash
|
||||||
WORKDIR /prodigy
|
|
||||||
COPY ./prodigy-1.9.6-cp36.cp37.cp38-cp36m.cp37m.cp38-linux_x86_64.whl /prodigy
|
FROM python:3.8
|
||||||
RUN mkdir /work
|
RUN mkdir /prodigy
|
||||||
COPY ./data/textfile.csv /textdata
|
WORKDIR /prodigy
|
||||||
RUN pip install prodigy-1.9.6-cp36.cp37.cp38-cp36m.cp37m.cp38-linux_x86_64.whl
|
COPY ./prodigy-1.9.6-cp36.cp37.cp38-cp36m.cp37m.cp38-linux_x86_64.whl /prodigy
|
||||||
RUN pip install https://files.kemt.fei.tuke.sk/models/spacy/sk_sk1-0.0.1.tar.gz
|
RUN mkdir /work
|
||||||
EXPOSE 8080
|
COPY ./ner /work
|
||||||
ENV PRODIGY_HOME /work
|
RUN pip install prodigy-1.9.6-cp36.cp37.cp38-cp36m.cp37m.cp38-linux_x86_64.whl
|
||||||
ENV PRODIGY_HOST 0.0.0.0
|
RUN pip install https://files.kemt.fei.tuke.sk/models/spacy/sk_sk1-0.0.1.tar.gz
|
||||||
WORKDIR /work
|
EXPOSE 8080
|
||||||
|
ENV PRODIGY_HOME /work
|
||||||
|
ENV PRODIGY_HOST 0.0.0.0
|
||||||
|
WORKDIR /work
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user