diff --git a/Dockerfile b/Dockerfile index 440ee7381..460fe16fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM node:7 RUN mkdir -p /usr/src/app WORKDIR /usr/src/app +RUN yarn install COPY package.json . COPY . . -RUN yarn install diff --git a/docker-compose.yml b/docker-compose.yml index 7e2d79a53..fc79b62ae 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,11 +1,11 @@ version: '2' services: elasticsearch: - image: elasticsearch:latest + image: elasticsearch:2.4.5 ports: - "${ELASTICSEARCH_PORT}:${ELASTICSEARCH_PORT}" mongodb: - image: mongo:latest + image: mongo:3.0 server: build: . command: make s