Docker file added and readme updated
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
.git
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
_site
|
||||||
|
.sass-cache
|
||||||
|
.DS_Store
|
||||||
|
_vendor
|
||||||
+11
@@ -0,0 +1,11 @@
|
|||||||
|
FROM ruby:2.7
|
||||||
|
|
||||||
|
WORKDIR /home/app
|
||||||
|
|
||||||
|
COPY Gemfile* ./
|
||||||
|
|
||||||
|
RUN bundle install
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
CMD [ "bundle", "exec", "jekyll", "serve" ]
|
||||||
@@ -15,6 +15,13 @@ To test locally, run the following in your terminal:
|
|||||||
2. `bundle exec jekyll serve`
|
2. `bundle exec jekyll serve`
|
||||||
3. Open your browser to `localhost:4000`
|
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
|
### 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.
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user