Skip to content

Commit 449db44

Browse files
Improve Docker layer caching (#42)
1 parent c0cc55b commit 449db44

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ RUN gem install bundler -v 2.1.4
88

99
WORKDIR /opt/representer
1010

11-
COPY . .
11+
COPY Gemfile Gemfile.lock .
1212

1313
RUN bundle install
1414

15+
COPY . .
16+
1517
ENTRYPOINT ["sh", "/opt/representer/bin/run.sh"]

0 commit comments

Comments
 (0)