This repository has been archived by the owner on Sep 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
35 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
bower_components | ||
node_modules | ||
.bower-cache | ||
.bower-registry | ||
.bower-tmp | ||
.vscode | ||
.git | ||
.gitignore | ||
LICENSE | ||
VERSION | ||
README.md | ||
docs |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM node:8 | ||
MAINTAINER Vikram Tiwari [email protected] | ||
|
||
RUN mkdir -p /usr/src/app | ||
WORKDIR /usr/src/app | ||
|
||
RUN yarn global add bower grunt-cli | ||
|
||
RUN apt-get install libfontconfig | ||
|
||
COPY ./package.json /usr/src/app/ | ||
|
||
RUN chown -R node:node /usr/src/app | ||
USER node | ||
RUN touch /home/node/.mean | ||
RUN yarn | ||
|
||
COPY . /usr/src/app/ | ||
ENV PORT 3000 | ||
ENV NODE_ENV production | ||
EXPOSE 3000 | ||
|
||
CMD ["yarn", "start"] |