Files
project-work/worker-toolkit-stocks-in-the-future/repo/docker/build
Eric Bell 2854619bc9 chore: init commit
in worker.../repo/GITFOLDER.zip is the .git folder.
2026-08-11 14:44:09 -04:00

17 lines
373 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
DATE=`date +%Y%m%d-%H%M%S`
LOG_DIRNAME="log/$DATE"
LOG_FILENAME="$LOG_DIRNAME/build.log"
mkdir "$LOG_DIRNAME"
echo ''
echo 'Welcome to the Stocks in the Future Docker build script!'
echo 'The screen output will be logged at'
echo "$LOG_FILENAME"
echo ''
echo 'Press Enter to continue.'
read
echo ''
docker/build-log 2>&1 | tee "$LOG_FILENAME"