From 8b2f7fcd34e22e922555717497c0e3735bca78b0 Mon Sep 17 00:00:00 2001 From: GavinMeierSonos Date: Mon, 16 Oct 2023 16:45:35 -0500 Subject: [PATCH] tweaking docker file a bit --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9be7379..2cbde40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,13 +8,14 @@ FROM ruby:3.1.4-bullseye AS RUNNER WORKDIR /usr/action -COPY Gemfile Gemfile -COPY Gemfile.lock Gemfile.lock -COPY src . +COPY Gemfile Gemfile.lock ./ + +RUN gem install bundler && bundle install + +COPY src ./ COPY --from=base ./dist/ ./native-helpers COPY --from=base /usr/local/bin/node /usr/local/bin/node -RUN bundle install ARG REPO_NAME ARG GITHUB_TOKEN