mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
d27aa137cf
BREAKING CHANGE the exposed port has changed from 80 to 8080
12 lines
284 B
Bash
Executable File
12 lines
284 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eux
|
|
|
|
if [ -n "${CONFIG_OVERRIDE:-}" ]; then
|
|
# Use config override environment variable if set
|
|
echo "$CONFIG_OVERRIDE" > /tmp/config.json
|
|
else
|
|
# Otherwise, use the default config that was bundled in the image
|
|
cp /config.json.bundled /tmp/config.json
|
|
fi
|