Update Dockerfile and add Rocket.dist.toml

This commit is contained in:
Sijmen 2023-01-02 18:43:52 +01:00
parent 8e4392cb51
commit f4a0505815
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
2 changed files with 6 additions and 1 deletions

View File

@ -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
View File

@ -0,0 +1,5 @@
[debug]
sentry_dsn = "" # Debug
[release]
sentry_dsn = "https://xxx@xxx.ingest.sentry.io/xxx" # TODO Replace with Sentry DSN