diff --git a/Dockerfile b/Dockerfile index 85699c6..bd50d47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ WORKDIR /app # Install Yarn RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list -RUN apt update && apt install -y yarn xvfb +RUN apt update && apt install -y yarn xvfb libnss3 COPY ./Gemfile ./Gemfile.lock /app/ diff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rb new file mode 100644 index 0000000..43198b8 --- /dev/null +++ b/config/initializers/sentry.rb @@ -0,0 +1,6 @@ +Sentry.init do |config| + config.dsn = ENV["SENTRY_DSN"] + config.breadcrumbs_logger = [:active_support_logger, :http_logger] + config.enabled_environments = %w[production] + config.debug = ENV.fetch("SENTRY_DEBUG", false) +end