Skip to content

Commit

Permalink
Docker updates
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalie committed Jul 4, 2023
1 parent 0d6db42 commit e23de39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN bundle config set --global no-cache 'true' && \
bundle config set --global jobs `expr $(cat /proc/cpuinfo | grep -c 'cpu cores')` && \
bundle config set --global retry 3


FROM base as builder

# packages required
Expand All @@ -47,6 +48,7 @@ LABEL maintainer Travis CI GmbH <[email protected]

# Copy gems from builder
COPY --from=builder /usr/local/bundle /usr/local/bundle
COPY --from=builder /app/vendor ./vendor

# Copy app files
COPY . ./
Expand Down

0 comments on commit e23de39

Please sign in to comment.