diff options
author | Glenn Toms <Glenn@glenntoms.gg> | 2020-06-18 15:46:33 +0100 |
---|---|---|
committer | Glenn Toms <Glenn@glenntoms.gg> | 2020-06-18 15:46:33 +0100 |
commit | 29d6b359abd243e9b4c026020bfc5d82bee88b12 (patch) | |
tree | 908edca2f073eb3f486d02272c90176a6d41cd07 /entrypoint.sh | |
parent | 5f71d1ea01c54a79fb8f459f8acbe92b0ea99c61 (diff) | |
download | homer-29d6b359abd243e9b4c026020bfc5d82bee88b12.tar.gz homer-29d6b359abd243e9b4c026020bfc5d82bee88b12.tar.zst homer-29d6b359abd243e9b4c026020bfc5d82bee88b12.zip |
Added entrypoint script and Dockerfile port&volume
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 | ||