From 9d0dd885967a043dfe9c1b7cfc61300795ef2cd6 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Fri, 25 Nov 2022 22:45:34 -0700 Subject: c --- .dockerignore | 1 + Dockerfile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.dockerignore b/.dockerignore index 437eb1d..78e2dbc 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,3 +7,4 @@ target/ # These are backup files generated by rustfmt **/*.rs.bk +fly.toml diff --git a/Dockerfile b/Dockerfile index 75f190d..08d0e87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,6 @@ ADD . . ADD linja-pona-4.9.otf /usr/share/fonts/ RUN cargo build --release EXPOSE 8000 +ENV ROCKET_ADDRESS=0.0.0.0 CMD cargo run --release +HEALTHCHECK CMD wget --spider -S http://localhost:8000 -- cgit v1.2.3