diff --git a/.travis.yml b/.travis.yml index 2cb2d6e31..a325df412 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ before_install: fi - echo $DOCKER_TAG # build docker image -- docker build -t counterparty/counterwallet:$DOCKER_TAG --build-arg TRANSIFEX_USER="$TRANSIFEX_USER" --build-arg TRANSIFEX_PASSWORD="$TRANSIFEX_PASSWORD" . +- docker build -t counterparty/counterwallet:$DOCKER_TAG --no-cache --build-arg TRANSIFEX_USER="$TRANSIFEX_USER" --build-arg TRANSIFEX_PASSWORD="$TRANSIFEX_PASSWORD" . script: # run the test suite in the docker container we just made diff --git a/Dockerfile b/Dockerfile index e982bc8ac..16e7857f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -75,12 +75,12 @@ RUN if [ -n "$TRANSIFEX_USER" ] && [ -n "$TRANSIFEX_PASSWORD" ]; then echo "$TRA # Install project COPY . /counterwallet WORKDIR /counterwallet +RUN rm -rf /counterwallet/build RUN npm -g install npm@latest RUN npm config set strict-ssl false ENV PHANTOMJS_CDNURL="http://cnpmjs.org/downloads" RUN npm install -g bower grunt mocha-phantomjs -#RUN cd src; bower --allow-root --config.interactive=false update; cd .. -RUN cd src; bower --allow-root install; cd .. +RUN cd src; bower --allow-root --config.interactive=false update; cd .. RUN npm update RUN grunt build RUN cp -a /counterwallet/counterwallet.conf.json.example /counterwallet/counterwallet.conf.json