Zomg get it finally working for production
This commit is contained in:
parent
d6a8259e08
commit
16339ecc2e
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@ -0,0 +1,5 @@
|
||||
FROM decentral1se/jekyll:4
|
||||
|
||||
COPY . ${WORKDIR}
|
||||
|
||||
RUN bundle install
|
3
Gemfile
3
Gemfile
@ -1,4 +1,7 @@
|
||||
source "https://rubygems.org"
|
||||
|
||||
ruby "2.7.1"
|
||||
|
||||
gemspec
|
||||
|
||||
gem "jekyll-feed"
|
||||
|
@ -3,12 +3,6 @@ version: "3.7"
|
||||
|
||||
services:
|
||||
jekyll:
|
||||
command: >
|
||||
jekyll serve \
|
||||
--watch \
|
||||
--force_polling \
|
||||
--verbose \
|
||||
--config _config.yml \
|
||||
--trace
|
||||
command: jekyll serve --watch --force_polling --trace
|
||||
volumes:
|
||||
- ".:/srv/jekyll"
|
||||
|
@ -3,11 +3,10 @@ version: "3.7"
|
||||
|
||||
services:
|
||||
jekyll:
|
||||
command: >
|
||||
jekyll serve \
|
||||
--verbose \
|
||||
--config _config.yml \
|
||||
--trace
|
||||
image: decentral1se/autonomic.zone:latest
|
||||
command: jekyll serve --host 0.0.0.0 --trace
|
||||
environment:
|
||||
JEKYLL_ENV: production
|
||||
networks:
|
||||
- proxy
|
||||
deploy:
|
||||
|
Reference in New Issue
Block a user