minio-app/start.sh

14 lines
244 B
Bash
Executable File

#!/bin/bash
set -eu
mkdir -p /app/data/data /app/data/config
if ! [ -f /app/data/config/config.json ]; then
cp /app/code/config.json /app/data/config/config.json
fi
exec ./minio server -C /app/data/config --address :8000 /app/data/data