Skip to content

Commit

Permalink
ci: try node.js v7.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanwalther committed Jun 22, 2017
1 parent e6194b4 commit cefb1b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
FROM node:8.1.2
FROM node:7.9.0

ARG PORT=9696
ENV PORT=$PORT
ENV HOME /home


RUN mkdir -p $HOME
WORKDIR $HOME

COPY package.json package-lock.json ./
COPY package.json ./

RUN npm install

COPY . .

EXPOSE 9696
EXPOSE $PORT

CMD ["npm", "run", "start"]
5 changes: 2 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
machine:
node:
version: 8.1.2
version: 7.9.0
environment:
DOCKER_IMAGE_NAME: stefanwalther/speedtest-exporter
REPO_PATH: github.com/stefanwalther/speedtest-exporter
services:
- docker

dependencies:
pre:
- docker build --rm=false -t ${DOCKER_IMAGE_NAME} .
override:
- npm install

test:
override:
- docker build --rm=false -t ${DOCKER_IMAGE_NAME} .
- while ! curl --retry 10 --retry-delay 5 -v http://0.0.0.0:9696 >/dev/null; do sleep 1; done

deployment:
Expand Down

0 comments on commit cefb1b6

Please sign in to comment.