mirror of
https://github.com/foambubble/foam-template.git
synced 2025-06-07 20:08:54 +00:00
change location
This commit is contained in:
parent
e65c322921
commit
2b573263ce
4 changed files with 20 additions and 0 deletions
5
publish/Dockerfile
Normal file
5
publish/Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM jekyll/jekyll
|
||||
Label MAINTAINER Amir Pourmand
|
||||
WORKDIR /srv/jekyll
|
||||
ADD publish/Gemfile /srv/jekyll/
|
||||
RUN bundle install
|
11
publish/Gemfile
Normal file
11
publish/Gemfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
gem "jekyll"
|
||||
gem "jekyll-theme-primer"
|
||||
gem "jekyll-optional-front-matter"
|
||||
gem "jekyll-default-layout"
|
||||
gem "jekyll-readme-index"
|
||||
gem "jekyll-titles-from-headings"
|
||||
gem "jekyll-relative-links"
|
||||
gem "kramdown-parser-gfm"
|
||||
gem "kramdown"
|
1
publish/docker_build.sh
Executable file
1
publish/docker_build.sh
Executable file
|
@ -0,0 +1 @@
|
|||
docker build -t "foam:Dockerfile" -f publish/Dockerfile .
|
3
publish/docker_run.sh
Executable file
3
publish/docker_run.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
docker run --rm -v "$PWD:/srv/jekyll/" -p "8080:8080" \
|
||||
-it foam:Dockerfile bundler \
|
||||
exec jekyll serve --watch --port=8080 --host=0.0.0.0
|
Loading…
Add table
Reference in a new issue