Files
ResumeCustomizer/input/Docker/entrypoint.sh

15 lines
366 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
USER_NAME=${USER_NAME:-codex}
USER_HOME=$(eval echo "~${USER_NAME}")
mkdir -p /workspace/inbox /workspace/outbox /workspace/processed /workspace/failed
mkdir -p "${USER_HOME}/.codex"
export HOME="${USER_HOME}"
export XDG_CACHE_HOME="${USER_HOME}/.cache"
mkdir -p "${XDG_CACHE_HOME}"
exec python3 /app/watch_and_customize.py