1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/Dockerfile

14 lines
361 B
Docker
Raw Normal View History

2015-06-19 14:11:02 +02:00
FROM nodesource/trusty:0.12
COPY . .
RUN curl -L https://github.com/hashicorp/envconsul/releases/download/v0.5.0/envconsul_0.5.0_linux_amd64.tar.gz | \
tar -zx -C /usr/bin/ --strip-components 1
2015-06-19 14:11:02 +02:00
RUN npm install --production && \
npm run build
EXPOSE 4242
CMD envconsul -consul $(route -n | awk '/UG/ {print $2}'):8500 -prefix unleash node server.js