From 692b24fd9ebcf94b768e195a6ae2cdb2d989a829 Mon Sep 17 00:00:00 2001 From: Adelina Enache Date: Thu, 6 Jul 2017 17:53:53 +0300 Subject: [PATCH] deleted env vars --- Dockerfile | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2fea2ae..e5d67d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,25 +2,18 @@ # # VERSION 0.2.3 -FROM node:0.12-onbuild +FROM node:4.8.3 MAINTAINER Andrei Marinescu -# install nodemon -RUN npm install --global nodemon - -# Apache Kafka, Elasticsearch and Redis default settings -ENV TP_REDIS_HOST 127.0.0.1 -ENV TP_REDIS_PORT 6379 +RUN mkdir /app -ENV TP_ES_HOST 127.0.0.1 -ENV TP_ES_PORT 9200 -ENV TP_ES_INDEX default +COPY . /app +WORKDIR /app +RUN npm install -ENV TP_KFK_HOST 127.0.0.1 -ENV TP_KFK_CLIENT "octopus-producer" -ENV TP_KFK_PORT 2181 +# install nodemon +RUN npm install --global nodemon -ENV TP_MAIN_DB "ElasticSearch" -ENV TP_PW_SALT \$2a\$10\$N9qo8uLOickgx2ZMRZoMye +WORKDIR /app EXPOSE 3000