Compare commits
2 Commits
renovate/c
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
642ddfc029 | ||
|
a62226a739 |
11
Dockerfile
11
Dockerfile
@ -2,12 +2,9 @@ FROM node:lts-alpine
|
||||
LABEL maintainer="lizheming <i@imnerd.org>"
|
||||
RUN apk upgrade --no-cache && apk add --no-cache bash
|
||||
|
||||
ENV ROOT /usr/src/app
|
||||
WORKDIR ${ROOT}
|
||||
RUN npm install -g coveralls
|
||||
|
||||
RUN npm install coveralls
|
||||
ADD ./entrypoint.sh /bin
|
||||
RUN chmod +x /bin/entrypoint.sh
|
||||
|
||||
ADD ./entrypoint.sh .
|
||||
RUN chmod +x ./entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
|
||||
ENTRYPOINT ["entrypoint.sh"]
|
||||
|
@ -21,7 +21,7 @@ for file in $(echo $files | tr -d '[[:space:]]' | tr "," "\n"); do
|
||||
vfiles="$vfiles -f $PWD/$file"
|
||||
|
||||
echo "-- Sending $file to Coveralls.io --"
|
||||
eval 'cat $PWD/$file | ./node_modules/coveralls/bin/coveralls.js'
|
||||
eval 'cat $PWD/$file | coveralls'
|
||||
fi
|
||||
done
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"extends": [
|
||||
"config:base"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user