Update Dockerfile and add Rocket.dist.toml
This commit is contained in:
parent
8e4392cb51
commit
f4a0505815
2 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
FROM rust:1 AS builder
|
FROM rust:1 AS builder
|
||||||
WORKDIR /usr/src/rooster
|
WORKDIR /usr/src/rooster
|
||||||
|
|
||||||
COPY Cargo.toml Cargo.lock ./
|
COPY Cargo.toml Cargo.lock Rocket.toml ./
|
||||||
COPY src ./src
|
COPY src ./src
|
||||||
|
|
||||||
RUN cargo install --path .
|
RUN cargo install --path .
|
||||||
|
|
5
Rocket.dist.toml
Normal file
5
Rocket.dist.toml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[debug]
|
||||||
|
sentry_dsn = "" # Debug
|
||||||
|
|
||||||
|
[release]
|
||||||
|
sentry_dsn = "https://xxx@xxx.ingest.sentry.io/xxx" # TODO Replace with Sentry DSN
|
Loading…
Reference in a new issue