diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-06-19 08:01:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 08:01:44 -0700 |
commit | 638dee77047993a56953285a5a85685a0e101c79 (patch) | |
tree | 908edca2f073eb3f486d02272c90176a6d41cd07 /entrypoint.sh | |
parent | aac817970ce37f5991ae94c5c58ea2e1695420e2 (diff) | |
parent | 29d6b359abd243e9b4c026020bfc5d82bee88b12 (diff) | |
download | homer-638dee77047993a56953285a5a85685a0e101c79.tar.gz homer-638dee77047993a56953285a5a85685a0e101c79.tar.zst homer-638dee77047993a56953285a5a85685a0e101c79.zip |
Merge pull request #87 from GlennToms/master140991098
Added ENV PORT options and EXPORT PORT
Diffstat (limited to 'entrypoint.sh')
-rw-r--r-- | entrypoint.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..7623322 --- /dev/null +++ b/entrypoint.sh | |||
@@ -0,0 +1,6 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | yes n | cp -i /www/config.yml.dist /www/config.yml | ||
4 | while true; do echo n; done | cp -Ri /app/dist/www/assets /www/assets 2>/dev/null | ||
5 | |||
6 | darkhttpd /www/ --no-listing --port $PORT | ||