storj/cmd/versioncontrol/entrypoint
Matt Robinson 43ae28ce2c Add image for versioncontrol server (#1875)
* First pass at building a version server container image

* Actually adding the Dockerfile this branch

* Add entrypoint to auto create config file
2019-05-02 23:25:04 +02:00

8 lines
141 B
Bash
Executable File

#!/bin/sh
if [ ! -f $HOME/.local/share/storj/versioncontrol/config.yaml ]; then
/app/versioncontrol setup
fi
exec /app/versioncontrol run