diff --git a/.travis.yml b/.travis.yml index 203ed8fabd..bb21ea0682 100644 --- a/.travis.yml +++ b/.travis.yml @@ -111,6 +111,7 @@ jobs: - stage: Update Rancher name: Update Rancher + before_script: ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-demoshell.tar.bz2" -o "./dist/demo-shell" script: ./scripts/travis/deploy/deploy.sh - stage: Deploy PR diff --git a/Dockerfile b/Dockerfile index 568f565115..102aa2131c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,12 @@ FROM nginx:stable-alpine LABEL version="3.0.0" +ARG PROJECT_NAME=demo-shell + COPY ./docker/nginx.conf /etc/nginx/nginx.conf COPY ./docker/entrypoint.sh / WORKDIR /usr/share/nginx/html -COPY demo-shell/dist/ . +COPY dist/$PROJECT_NAME . ENTRYPOINT [ "/entrypoint.sh" ]