Fix docker issue adding --frozen
--frozen prevents Gemfile.lock from being updated, which was causing write errors for me. Also renames the image to lsm-hpce/docs
This commit is contained in:
@ -3,7 +3,7 @@ FROM jekyll/builder
|
|||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
ADD Gemfile /tmp/
|
ADD Gemfile /tmp/
|
||||||
ADD Gemfile.lock /tmp/
|
ADD Gemfile.lock /tmp/
|
||||||
RUN bundle install
|
RUN bundle install --frozen
|
||||||
|
|
||||||
FROM jekyll/jekyll
|
FROM jekyll/jekyll
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: result/latest
|
image: lsm-hpce/docs
|
||||||
ports:
|
ports:
|
||||||
- "4001:4001"
|
- "4001:4001"
|
||||||
volumes:
|
volumes:
|
||||||
|
Reference in New Issue
Block a user