aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.dockerignore1
-rw-r--r--Dockerfile2
2 files changed, 3 insertions, 0 deletions
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