You've already forked snikket-web-portal
Improve Dockerfile
- Do not use python:X.Y images, they contain *a lot* of unnecessary and potentially vulnerable software - Prepare for a much slimmer image build
This commit is contained in:
@@ -26,8 +26,7 @@ except KeyError:
|
||||
'To avoid losing sessions on each server restart, please provide '
|
||||
'a SECRET_KEY.',
|
||||
file=sys.stderr)
|
||||
|
||||
SECRET_KEY = os.environ.get('SECRET_KEY', secrets.token_urlsafe(nbytes=32))
|
||||
SECRET_KEY = secrets.token_urlsafe(nbytes=32)
|
||||
|
||||
# URL (without trailing /) of the prosody HTTP server.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user