This repository has been archived on 2024-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
fotochallenge/container/entrypoint.sh

13 lines
159 B
Bash
Executable File

#!/usr/bin/env sh
set -e
export STORAGE_PATH="${STORAGE_PATH:-./uploads}"
entrypoint() {
mkdir -p "${STORAGE_PATH}"
node ./build/index.js
}
entrypoint