This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,21 @@ | ||
# | ||
# Note "> /dev/null" workaround for fig-bug https://github.com/orchardup/fig/issues/239 | ||
# | ||
FROM dockerfile/nodejs | ||
|
||
MAINTAINER Matthias Luebken, [email protected] | ||
|
||
WORKDIR /home/mean | ||
|
||
# Install Mean.JS Prerequisites | ||
RUN npm install -g grunt-cli > /dev/null | ||
RUN npm install -g bower > /dev/null | ||
RUN npm install -g grunt-cli | ||
RUN npm install -g bower | ||
|
||
# Install Mean.JS packages | ||
ADD package.json /home/mean/package.json | ||
RUN npm install > /dev/null | ||
RUN npm install | ||
|
||
# Manually trigger bower. Why doesnt this work via npm install? | ||
ADD .bowerrc /home/mean/.bowerrc | ||
ADD bower.json /home/mean/bower.json | ||
# why doesnt this work via npm install? | ||
RUN bower install --config.interactive=false --allow-root > /dev/null | ||
RUN bower install --config.interactive=false --allow-root | ||
|
||
# Make everything available for start | ||
ADD . /home/mean | ||
|