Add dockerfile build

This commit is contained in:
Brandon Thomas
2020-09-12 04:12:58 -04:00
parent d3d4ba2f66
commit 518a716c59
5 changed files with 115 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
# We can't run this as a CronJob since it isn't guaranteed to be scheduled
# to the same nodes. (Maybe there's a way for Kubernetes to do that?)
mkdir -p "${DOWNLOAD_DIR}"
mkdir -p "${TEMP_DIR}"
while :; do
./discord-vocodes
echo "Sleeping for ${SLEEP_TIMEOUT} seconds at $(date)"
sleep "${SLEEP_TIMEOUT}"
done