mirror of https://github.com/thangisme/notes.git
5 changed files with 33 additions and 2 deletions
@ -0,0 +1,13 @@ |
|||
FROM ruby:2.6 |
|||
|
|||
ENV LC_ALL C.UTF-8 |
|||
ENV LANG en_US.UTF-8 |
|||
ENV LANGUAGE en_US.UTF-8 |
|||
|
|||
WORKDIR /usr/src/app |
|||
|
|||
COPY Gemfile just-the-docs.gemspec ./ |
|||
RUN gem install bundler && bundle install |
|||
|
|||
EXPOSE 4000 |
|||
|
@ -0,0 +1,14 @@ |
|||
version: "3.5" |
|||
|
|||
services: |
|||
jekyll: |
|||
build: |
|||
context: ./ |
|||
ports: |
|||
- 4000:4000 |
|||
volumes: |
|||
- .:/usr/src/app |
|||
stdin_open: true |
|||
tty: true |
|||
command: bundle exec jekyll serve -H 0.0.0.0 -t |
|||
|
Loading…
Reference in new issue