From f4a05058155fc6471ee371a3b8ff0d4e139f6fcc Mon Sep 17 00:00:00 2001 From: Sijmen Date: Mon, 2 Jan 2023 18:43:52 +0100 Subject: [PATCH] Update Dockerfile and add Rocket.dist.toml --- Dockerfile | 2 +- Rocket.dist.toml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 Rocket.dist.toml diff --git a/Dockerfile b/Dockerfile index 3c369bb..db623e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM rust:1 AS builder WORKDIR /usr/src/rooster -COPY Cargo.toml Cargo.lock ./ +COPY Cargo.toml Cargo.lock Rocket.toml ./ COPY src ./src RUN cargo install --path . diff --git a/Rocket.dist.toml b/Rocket.dist.toml new file mode 100644 index 0000000..c595a26 --- /dev/null +++ b/Rocket.dist.toml @@ -0,0 +1,5 @@ +[debug] +sentry_dsn = "" # Debug + +[release] +sentry_dsn = "https://xxx@xxx.ingest.sentry.io/xxx" # TODO Replace with Sentry DSN