The production config in Rocket.toml is called "release" and starts on 0.0.0.0:8080. The Dockerfile expects that profile to be active, since it exposes port 8080, while the default configuration (which gets chosen with ROCKET_PROFILE=production) listens on 127.0.0.1:8000.
The production config in Rocket.toml is called "release" and starts on 0.0.0.0:8080. The Dockerfile expects that profile to be active, since it exposes port 8080, while the default configuration (which gets chosen with
ROCKET_PROFILE=production
) listens on 127.0.0.1:8000.This seems to have been an oversight.
Signed-off-by: Clemens Lang neverpanic@gmail.com