Update CI script and remove unused code.

This commit is contained in:
Patrick Jentsch 2019-07-31 11:39:54 +02:00
parent e0e77d1164
commit e68d5c39ee
2 changed files with 0 additions and 4 deletions

View File

@ -12,7 +12,6 @@ before_script:
Build: Build:
script: script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build --pull -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA . - docker build --pull -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
stage: build stage: build

View File

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