aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2022-11-25 22:45:34 -0700
committerMelody Horn <melody@boringcactus.com>2022-11-25 22:45:34 -0700
commit9d0dd885967a043dfe9c1b7cfc61300795ef2cd6 (patch)
tree735b82cae67463aa578cae953bc5b6fa730f1217
parent218ebc3f8002e0ed21419b3f31a3ae2a56d4ee64 (diff)
downloadlinja-pona-svginator-9d0dd885967a043dfe9c1b7cfc61300795ef2cd6.tar.gz
linja-pona-svginator-9d0dd885967a043dfe9c1b7cfc61300795ef2cd6.zip
c
-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