Skip to content
This repository was archived by the owner on May 4, 2019. It is now read-only.

Commit d271771

Browse files
committed
merged from develop_2.0
1 parent 038443f commit d271771

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.dockerignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.git
2+
node_modules
3+
bower_components
4+
*.swp

Dockerfile

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
###
2+
# swagger-ui-builder - https://github.com/wordnik/swagger-ui/
3+
# Container for building the swagger-ui static site
4+
#
5+
# Build: docker build -t swagger-ui-builder .
6+
# Run: docker run -v $PWD/dist:/build/dist swagger-ui-builder
7+
#
8+
###
9+
10+
FROM ubuntu:14.04
11+
12+
13+
ENV DEBIAN_FRONTEND noninteractive
14+
15+
RUN apt-get update && apt-get install -y git npm nodejs openjdk-7-jre
16+
RUN ln -s /usr/bin/nodejs /usr/local/bin/node
17+
18+
WORKDIR /build
19+
ADD package.json /build/package.json
20+
RUN npm install
21+
ADD . /build
22+
CMD PATH=$PATH:node_modules/.bin cake dist
23+
=======
24+
CMD PATH=$PATH:node_modules/.bin cake dist

0 commit comments

Comments
 (0)