diff --git a/Dockerfile b/Dockerfile index db623e0..e950aea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM rust:1 AS builder WORKDIR /usr/src/rooster -COPY Cargo.toml Cargo.lock Rocket.toml ./ +COPY Cargo.toml Cargo.lock ./ COPY src ./src RUN cargo install --path . @@ -11,6 +11,8 @@ FROM debian:buster-slim ENV ROCKET_ADDRESS=0.0.0.0 EXPOSE 8000 +RUN apt-get update && apt-get install -y openssl +COPY Rocket.toml ./ COPY --from=builder /usr/local/cargo/bin/rooster /usr/local/bin/rooster CMD ["rooster"] diff --git a/Rocket.dist.toml b/Rocket.dist.toml index c595a26..9d829ed 100644 --- a/Rocket.dist.toml +++ b/Rocket.dist.toml @@ -1,5 +1,2 @@ -[debug] -sentry_dsn = "" # Debug - -[release] +[default] sentry_dsn = "https://xxx@xxx.ingest.sentry.io/xxx" # TODO Replace with Sentry DSN