mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nlp.git
synced 2024-12-27 12:34:18 +00:00
Change the documentation style.
This commit is contained in:
parent
2f57b1a0af
commit
48fb20ae6b
@ -1,6 +1,7 @@
|
|||||||
FROM debian:9-slim
|
FROM debian:9-slim
|
||||||
|
|
||||||
|
|
||||||
|
# Define image metadata
|
||||||
LABEL maintainer="inf_sfb1288@lists.uni-bielefeld.de"
|
LABEL maintainer="inf_sfb1288@lists.uni-bielefeld.de"
|
||||||
|
|
||||||
|
|
||||||
@ -15,8 +16,6 @@ RUN apt-get update \
|
|||||||
setuptools \
|
setuptools \
|
||||||
wheel
|
wheel
|
||||||
|
|
||||||
|
|
||||||
# pyFlow
|
|
||||||
ENV PYFLOW_VERSION=1.1.20
|
ENV PYFLOW_VERSION=1.1.20
|
||||||
ADD "https://github.com/Illumina/pyflow/releases/download/v${PYFLOW_VERSION}/pyflow-${PYFLOW_VERSION}.tar.gz" .
|
ADD "https://github.com/Illumina/pyflow/releases/download/v${PYFLOW_VERSION}/pyflow-${PYFLOW_VERSION}.tar.gz" .
|
||||||
RUN tar -xzf "pyflow-${PYFLOW_VERSION}.tar.gz" \
|
RUN tar -xzf "pyflow-${PYFLOW_VERSION}.tar.gz" \
|
||||||
@ -27,7 +26,6 @@ RUN tar -xzf "pyflow-${PYFLOW_VERSION}.tar.gz" \
|
|||||||
"pyflow-${PYFLOW_VERSION}" \
|
"pyflow-${PYFLOW_VERSION}" \
|
||||||
"pyflow-${PYFLOW_VERSION}.tar.gz"
|
"pyflow-${PYFLOW_VERSION}.tar.gz"
|
||||||
|
|
||||||
# spaCy
|
|
||||||
ENV SPACY_MODELS_DE=de_core_news_sm \
|
ENV SPACY_MODELS_DE=de_core_news_sm \
|
||||||
SPACY_MODELS_EL=el_core_news_sm \
|
SPACY_MODELS_EL=el_core_news_sm \
|
||||||
SPACY_MODELS_EN=en_core_web_sm \
|
SPACY_MODELS_EN=en_core_web_sm \
|
||||||
@ -48,8 +46,11 @@ RUN pip3 install \
|
|||||||
"https://github.com/explosion/spacy-models/releases/download/${SPACY_MODELS_NL}-${SPACY_VERSION}/${SPACY_MODELS_NL}-${SPACY_VERSION}.tar.gz" \
|
"https://github.com/explosion/spacy-models/releases/download/${SPACY_MODELS_NL}-${SPACY_VERSION}/${SPACY_MODELS_NL}-${SPACY_VERSION}.tar.gz" \
|
||||||
"https://github.com/explosion/spacy-models/releases/download/${SPACY_MODELS_PT}-${SPACY_VERSION}/${SPACY_MODELS_PT}-${SPACY_VERSION}.tar.gz"
|
"https://github.com/explosion/spacy-models/releases/download/${SPACY_MODELS_PT}-${SPACY_VERSION}/${SPACY_MODELS_PT}-${SPACY_VERSION}.tar.gz"
|
||||||
|
|
||||||
|
|
||||||
|
# Install NLP pipeline
|
||||||
COPY nlp /usr/local/bin
|
COPY nlp /usr/local/bin
|
||||||
COPY spacy_nlp /usr/local/bin
|
COPY spacy_nlp /usr/local/bin
|
||||||
|
|
||||||
|
|
||||||
ENTRYPOINT ["nlp"]
|
ENTRYPOINT ["nlp"]
|
||||||
CMD ["--help"]
|
CMD ["--help"]
|
||||||
|
Loading…
Reference in New Issue
Block a user