Skip to content

Commit

Permalink
Merge pull request #22 from telepat-io/fix-dockerfile
Browse files Browse the repository at this point in the history
deleted env vars
  • Loading branch information
Mayhem93 authored Jul 7, 2017
2 parents add709b + 692b24f commit 5ab6a2a
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,18 @@
#
# VERSION 0.2.3

FROM node:0.12-onbuild
FROM node:4.8.3
MAINTAINER Andrei Marinescu <andrei@telepat.io>

# 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

0 comments on commit 5ab6a2a

Please sign in to comment.