From e68d5c39ee7e2d87562278a8c9e070a2fb276897 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Wed, 31 Jul 2019 11:39:54 +0200 Subject: [PATCH] Update CI script and remove unused code. --- .gitlab-ci.yml | 1 - Dockerfile | 3 --- 2 files changed, 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 69d8aea..29383e9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,6 @@ before_script: Build: script: - - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - docker build --pull -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA . - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA stage: build diff --git a/Dockerfile b/Dockerfile index dd34893..165212e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,4 @@ RUN pip3 install wheel && pip3 install -U spacy && \ COPY nlp /usr/local/bin COPY spacy_nlp /usr/local/bin -RUN mkdir /input /output && \ - chmod a+rw /input /output - ENTRYPOINT ["nlp"]