feat: added a relay for gatus statuses and changes the url it uses
This commit is contained in:
parent
39134b5229
commit
43d05fadc4
8 changed files with 1910 additions and 4 deletions
17
Dockerfile
17
Dockerfile
|
@ -1,3 +1,16 @@
|
|||
FROM nginx
|
||||
FROM rust
|
||||
|
||||
COPY public /usr/share/nginx/html
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# first cargo files to cache dependencies
|
||||
COPY Cargo.toml Cargo.lock ./
|
||||
RUN mkdir src && \
|
||||
echo "fn main() {println!(\"if you see this, the build broke\")}" > src/main.rs && \
|
||||
cargo build --release
|
||||
RUN rm -rf src target/release/deps/ixvd_web*
|
||||
|
||||
COPY . .
|
||||
RUN cargo build --release
|
||||
|
||||
EXPOSE 8080
|
||||
CMD ["./target/release/ixvd-web"]
|
Loading…
Add table
Add a link
Reference in a new issue