aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
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 /Dockerfile
parent218ebc3f8002e0ed21419b3f31a3ae2a56d4ee64 (diff)
downloadlinja-pona-svginator-9d0dd885967a043dfe9c1b7cfc61300795ef2cd6.tar.gz
linja-pona-svginator-9d0dd885967a043dfe9c1b7cfc61300795ef2cd6.zip
c
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 2 insertions, 0 deletions
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