Unverified Commit 6ab01a6b authored by Ryan Hofschneider's avatar Ryan Hofschneider Committed by GitHub

Merge pull request #107 from 18F/mgwalker/docker

Dockerize the guide
parents c1d6d567 ae074e15
FROM ruby:2.6.1
# Bundle install first for a simple gem cache
COPY Gemfile* /tmp/
WORKDIR /tmp
RUN bundle install
# Set app working direcotry and copy app there.
ENV app /dev-guide
RUN mkdir $app
WORKDIR $app
ADD . $app
# Set some other necessary ENVs
ENV LC_ALL=C.UTF-8
CMD bundle exec jekyll serve --host 0.0.0.0 --incremental
version: '3'
services:
web:
build: .
ports:
- "4000:4000"
volumes:
- .:/dev-guide
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment