vrutkovs / masto-thread-renderer

Render Mastodon thread as a web page
https://thread.choomba.one
Apache License 2.0
55 stars 3 forks source link

Dockerfile: Fix default configuration #2

Closed neverpanic closed 1 year ago

neverpanic commented 1 year ago

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

vrutkovs commented 1 year ago

Good catch, thanks