mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-04 10:02:15 +00:00
Add 'task docs-serve' that runs Jekyll in a Docker container so developers can preview the documentation site without installing Ruby or Jekyll locally. Uses a _config.dev.yml override to clear the baseurl for local serving at http://localhost:4000 with LiveReload enabled. Assisted-By: docker-agent
8 lines
145 B
Docker
8 lines
145 B
Docker
FROM jekyll/jekyll:4
|
|
|
|
COPY Gemfile Gemfile.lock* ./
|
|
RUN bundle install
|
|
|
|
EXPOSE 4000
|
|
CMD ["jekyll", "serve", "--host", "0.0.0.0", "--livereload"]
|