forked from swagger-api/swagger-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
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
2 changed files
with
28 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,4 @@ | ||
.git | ||
node_modules | ||
bower_components | ||
*.swp |
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,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 |