Skip to content

Commit

Permalink
merged from develop_2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fehguy committed Feb 1, 2015
1 parent 038443f commit d271771
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.git
node_modules
bower_components
*.swp
24 changes: 24 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
###
# swagger-ui-builder - https://github.com/wordnik/swagger-ui/
# Container for building the swagger-ui static site
#
# Build: docker build -t swagger-ui-builder .
# Run: docker run -v $PWD/dist:/build/dist swagger-ui-builder
#
###

FROM ubuntu:14.04
MAINTAINER [email protected]

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install -y git npm nodejs openjdk-7-jre
RUN ln -s /usr/bin/nodejs /usr/local/bin/node

WORKDIR /build
ADD package.json /build/package.json
RUN npm install
ADD . /build
CMD PATH=$PATH:node_modules/.bin cake dist
=======
CMD PATH=$PATH:node_modules/.bin cake dist

0 comments on commit d271771

Please sign in to comment.