Files
Gogs/docker-next/start.sh

9 lines
164 B
Bash

#!/bin/sh
set -ex
# Create data directories at runtime (needed when /data is a mounted volume)
mkdir -p /data/gogs /data/git
# Execute the main command
exec "$@"