FROM docuseal/docuseal@sha256:209b1ef44d4bc0246188c3e81fbba706c4788dfd11012a5a2c9a9b06e00a586b
COPY bitsoc_oidc.rb bitsoc_sso_session.rb /app/lib/
COPY bitsoc_sso_controller.rb /app/app/controllers/
COPY bitsoc_sso.rb /app/config/initializers/
COPY patch.rb /tmp/bitsoc-patch.rb
RUN ruby /tmp/bitsoc-patch.rb && rm /tmp/bitsoc-patch.rb
COPY source.tar.gz /app/public/bitsoc-sso-source.tar.gz
RUN chmod 644 /app/public/bitsoc-sso-source.tar.gz
