Update Dockerfile to deploy the fizzy-saas gem

This commit is contained in:
Mike Dalessio
2025-09-13 16:36:53 -04:00
parent 04baaa9cd6
commit b1aa5bb5b9
+2
View File
@@ -24,6 +24,8 @@ RUN apt-get update -qq && \
# Install application gems # Install application gems
COPY Gemfile Gemfile.lock .ruby-version ./ COPY Gemfile Gemfile.lock .ruby-version ./
COPY lib/bootstrap.rb ./lib/bootstrap.rb
COPY gems ./gems/
RUN --mount=type=secret,id=GITHUB_TOKEN --mount=type=cache,id=fizzy-permabundle-${RUBY_VERSION},sharing=locked,target=/permabundle \ RUN --mount=type=secret,id=GITHUB_TOKEN --mount=type=cache,id=fizzy-permabundle-${RUBY_VERSION},sharing=locked,target=/permabundle \
gem install bundler && \ gem install bundler && \
BUNDLE_PATH=/permabundle BUNDLE_GITHUB__COM="$(cat /run/secrets/GITHUB_TOKEN):x-oauth-basic" bundle install && \ BUNDLE_PATH=/permabundle BUNDLE_GITHUB__COM="$(cat /run/secrets/GITHUB_TOKEN):x-oauth-basic" bundle install && \