Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
Updated Dockerfile to launch post-install scripts correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed May 25, 2014
1 parent 3c1a8ad commit 3ec3906
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Mosca
#
# VERSION 0.0.2
# VERSION 0.0.3

FROM dockerfile/nodejs
MAINTAINER Matteo Collina <[email protected]>

# install tools for building binary addons
RUN apt-get -y install build-essential libssl-dev curl python

ADD ./ /src
RUN mkdir /db

RUN cd /src; rm -rf node_modules/; npm install
ADD ./ /src

RUN mkdir /db
RUN cd /src; rm -rf node_modules/; npm install --unsafe-perm

EXPOSE 80
EXPOSE 1883
Expand Down

0 comments on commit 3ec3906

Please sign in to comment.