Skip to content

Commit

Permalink
Fix magic REDIS_PORT variable
Browse files Browse the repository at this point in the history
Its defined to `tcp://{ip}:6379` for some reason (maybe in the iojs dockerfile).
  • Loading branch information
matejkramny committed Apr 24, 2015
1 parent 114bcb2 commit e8ce2a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM iojs:onbuild
FROM iojs:latest

RUN ln -snf /usr/bin/nodejs /usr/bin/node
RUN apt-get update && apt-get install -y python-dev build-essential python-pip git && pip install ansible && apt-get clean
Expand All @@ -10,6 +10,7 @@ RUN npm install
RUN ./node_modules/.bin/bower install --allow-root

ENV NODE_ENV production
ENV REDIS_PORT 6379
CMD ["node", "/srv/semaphore/bin/semaphore"]

EXPOSE 80

0 comments on commit e8ce2a7

Please sign in to comment.