diff options
-rw-r--r-- | .dockerignore | 1 | ||||
-rw-r--r-- | Dockerfile | 2 |
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 @@ -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 |