Skip to content

Commit

Permalink
feat(main): add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
a5i committed Oct 17, 2016
1 parent c9b4dfe commit 1a7b4bd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Expand Up @@ -3,6 +3,7 @@ node_modules/
.tmp/
.dockerignore
Dockerfile*
bower_components/
docker-compose.*

.gitignore
Expand Down
16 changes: 16 additions & 0 deletions Dockerfile
@@ -0,0 +1,16 @@
FROM node:6.7.0

RUN npm install -g bower && npm update -g bower && \
npm install -g gulp && npm update -g gulp

COPY . /app

WORKDIR /app

RUN npm install && \
bower install --allow-root && \
gulp build

EXPOSE 3000

CMD ["gulp", "serve:dist"]

0 comments on commit 1a7b4bd

Please sign in to comment.