Skip to content

Commit ad46caa

Browse files
saltedlollySorixelle
authored andcommitted
Fixes for docker
1 parent 38a17bd commit ad46caa

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN bundle config --global frozen 1
99

1010
WORKDIR /usr/src/app
1111

12-
COPY Gemfile Gemfile.lock ./
12+
COPY .ruby-version Gemfile Gemfile.lock ./
1313
RUN bundle install
1414

1515
COPY . .

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ with the appropriate values. Take a look at the
2727

2828
To start the Jekyll web server, run `bundle exec jekyll serve`.
2929

30+
### Docker
31+
32+
Clone repo to your local machine. From the repo root, enter:
33+
34+
`docker build -t rebble-dev .`
35+
`docker run --rm -it -p 4000:4000 -v "$PWD":/site -w /site rebble-dev \`
36+
` bundle exec jekyll serve --host 0.0.0.0 --port 4000`
37+
38+
Then open http://localhost:4000
39+
3040
## JS Documentation
3141

3242
The PebbleKit JS and Rocky documentation is generated with the

0 commit comments

Comments
 (0)