2018-09-07 02:10:31 +00:00
|
|
|
FROM node:8.11.4-alpine@sha256:1c38d992f89ae389450bc69799a0f2b7d1f9f2e6c445080a4648448e6449e8e4
|
2018-03-09 13:01:09 +00:00
|
|
|
|
|
|
|
LABEL maintainer="Rhys Arkins <rhys@arkins.net>"
|
|
|
|
LABEL name="renovate"
|
|
|
|
|
2018-04-01 05:17:00 +00:00
|
|
|
WORKDIR /usr/src/app/
|
2018-03-09 13:01:09 +00:00
|
|
|
|
2018-03-12 03:08:10 +00:00
|
|
|
RUN apk add --quiet --no-cache git openssh-client
|
2018-03-09 13:01:09 +00:00
|
|
|
COPY package.json .
|
|
|
|
COPY yarn.lock .
|
|
|
|
RUN yarn install --production && yarn cache clean
|
2018-04-01 05:17:00 +00:00
|
|
|
COPY lib lib
|
2018-03-09 13:01:09 +00:00
|
|
|
USER node
|
|
|
|
|
2018-04-01 05:17:00 +00:00
|
|
|
ENTRYPOINT ["node", "/usr/src/app/lib/renovate.js"]
|
2018-03-09 13:01:09 +00:00
|
|
|
CMD ["--help"]
|