Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ease development using docker-compose
- Loading branch information
Showing
3 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright (C) 2019 Sebastian Pipping <sebastian@pipping.org> | ||
# Licensed under the MIT license | ||
|
||
FROM ruby:stretch | ||
|
||
ENV LC_ALL=C.UTF-8 | ||
ENV LANG=en_US.UTF-8 | ||
ENV LANGUAGE=en_US.UTF-8 | ||
|
||
COPY \ | ||
css/ \ | ||
js/ \ | ||
lang/ \ | ||
_layouts/ \ | ||
script/ \ | ||
spec/ \ | ||
\ | ||
_config_local.yml \ | ||
_config.yml \ | ||
Gemfile \ | ||
index.md \ | ||
\ | ||
/app/ | ||
|
||
WORKDIR /app/ | ||
RUN bundle install | ||
CMD ["bundle", "exec", "jekyll", "serve", "--host", "0.0.0.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (C) 2019 Sebastian Pipping <sebastian@pipping.org> | ||
# Licensed under the MIT license | ||
|
||
version: '3' | ||
|
||
services: | ||
semver-org: | ||
build: . | ||
ports: | ||
- "127.0.0.1:4000:4000" | ||
volumes: | ||
- .:/app/ |