Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
node-slate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyễn Hải Sơn
node-slate
Commits
018a6939
Commit
018a6939
authored
Nov 17, 2015
by
Robert Lord
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #385 from agonzalezro/docker-fix
Use base ruby image in Dockerfile & fix watcher
parents
e9cfc6bf
2618c77d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
Dockerfile
Dockerfile
+4
-10
No files found.
Dockerfile
View file @
018a6939
FROM
ubuntu:wily
FROM
ruby:2.2.3-onbuild
RUN
ln
-s
/usr/src/app /app
# Deprecated
RUN
apt-get update
RUN
apt-get
install
-yq
ruby ruby-dev build-essential git nodejs
RUN
gem
install
--no-ri
--no-rdoc
bundler
ADD
Gemfile /app/Gemfile
ADD
Gemfile.lock /app/Gemfile.lock
RUN
cd
/app
;
bundle
install
ADD
. /app
EXPOSE
4567
WORKDIR
/app
CMD
["bundle", "exec", "middleman", "server"]
CMD
["bundle", "exec", "middleman", "server", "--force-polling"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment