mirror of
https://github.com/storytold/discord-vocodes.git
synced 2026-10-21 07:45:41 +00:00
Add dockerfile build
This commit is contained in:
Executable
+13
@@ -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
|
||||
Reference in New Issue
Block a user