Merge pull request #135 from iamrobins/docker

Docker file added and readme updated
This commit is contained in:
Joel Glovier
2022-07-02 15:28:44 -07:00
committed by GitHub
3 changed files with 25 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
.git
.git/
.gitignore
_site
.sass-cache
.DS_Store
_vendor
+11
View File
@@ -0,0 +1,11 @@
FROM ruby:2.7
WORKDIR /home/app
COPY Gemfile* ./
RUN bundle install
COPY . .
CMD [ "bundle", "exec", "jekyll", "serve" ]
+7
View File
@@ -15,6 +15,13 @@ To test locally, run the following in your terminal:
2. `bundle exec jekyll serve`
3. Open your browser to `localhost:4000`
### Running locally with Docker
To test locally with docker, run the following in your terminal after installing docker into your system:
1. `docker image build -t resume-template .`
2. `docker run --rm --name resume-template -v "$PWD":/home/app --network host resume-template`
### Customizing
First you'll want to fork the repo to your own account. Then clone it locally and customize, or use the GitHub web editor to customize.