Update for unprivileged usage.

This commit is contained in:
Patrick Jentsch
2019-06-02 21:38:47 +02:00
parent bc28f8a8b4
commit 6ddfd51ba9
3 changed files with 22 additions and 18 deletions

View File

@ -37,4 +37,7 @@ RUN pip3 install wheel && pip3 install -U spacy && \
COPY nlp /usr/local/bin
COPY spacy_nlp /usr/local/bin
mkdir /input /output
chmod a+rw /input /output
ENTRYPOINT ["nlp"]