aboutsummaryrefslogtreecommitdiffhomepage
path: root/entrypoint.sh
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-06-19 08:01:44 -0700
committerGitHub <noreply@github.com>2020-06-19 08:01:44 -0700
commit638dee77047993a56953285a5a85685a0e101c79 (patch)
tree908edca2f073eb3f486d02272c90176a6d41cd07 /entrypoint.sh
parentaac817970ce37f5991ae94c5c58ea2e1695420e2 (diff)
parent29d6b359abd243e9b4c026020bfc5d82bee88b12 (diff)
downloadhomer-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.sh6
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
3yes n | cp -i /www/config.yml.dist /www/config.yml
4while true; do echo n; done | cp -Ri /app/dist/www/assets /www/assets 2>/dev/null
5
6darkhttpd /www/ --no-listing --port $PORT