Update Dockerfile to deploy the fizzy-saas gem
This commit is contained in:
@@ -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 && \
|
||||||
|
|||||||
Reference in New Issue
Block a user