This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
dex/entrypoint.sh

12 lines
177 B
Bash
Executable File

#!/bin/sh -e
### Usage: /entrypoint.sh <command> <args>
command=$1
if [ "$command" == "serve" ]; then
file="$2"
dockerize -template "$file" | dex serve -
else
dex $@
fi