Skip to content
This repository was archived by the owner on Jul 21, 2021. It is now read-only.

Commit 8f7873d

Browse files
committed
Merge pull request mulesoft#182 from kokaz/add-dockerfile
Add Dockerfile to run RAML API Console
2 parents 3b3b752 + 650c3c5 commit 8f7873d

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dockerfile

Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM node:4.1
2+
3+
# Install Ruby (for Gem)
4+
RUN apt-get update \
5+
&& apt-get install -y ruby \
6+
&& rm -rf /var/lib/apt/lists/*
7+
8+
# Install Bower, Grunt & SASS
9+
RUN npm install -g bower grunt-cli \
10+
&& gem install sass
11+
12+
# Define working directory.
13+
WORKDIR /data
14+
15+
COPY . /data
16+
17+
RUN npm install && bower --allow-root install
18+
19+
EXPOSE 9000
20+
21+
ENTRYPOINT ["/usr/local/bin/grunt"]
22+
CMD ["default"]

bower.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"type": "git",
66
"url": "https://github.com/mulesoft/api-console.git"
77
},
8+
"ignore": [ "Dockerfile" ],
89
"dependencies": {
910
"angular": "~1.3.17",
1011
"angular-highlightjs": "~0.3.2",

0 commit comments

Comments
 (0)