Skip to content

Commit

Permalink
Use node base docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
bencevans committed Oct 23, 2015
1 parent 5d27cbb commit 7dbab8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
11 changes: 1 addition & 10 deletions Dockerfile
@@ -1,14 +1,7 @@

FROM ubuntu:14.04
FROM node:0.10-onbuild

MAINTAINER Axisto Media

RUN apt-get update
RUN apt-get install -y software-properties-common git
RUN add-apt-repository ppa:chris-lea/node.js
RUN apt-get update
RUN apt-get install -y nodejs

ENV NODE_ENV docker

ADD ./ /jobukyu
Expand All @@ -19,5 +12,3 @@ RUN cp config.example.js config.js
RUN npm install

EXPOSE 3800

CMD sudo npm start
1 change: 1 addition & 0 deletions docker-compose.yml
Expand Up @@ -5,6 +5,7 @@ web:
ports:
- "3800:3800"
restart: always

mongo:
image: mongo:2.7.5
restart: always

0 comments on commit 7dbab8d

Please sign in to comment.