12 lines
193 B
Bash
Executable file
12 lines
193 B
Bash
Executable file
#!/bin/sh -eu
|
|
|
|
: "${DOCKER_BIN:=docker}"
|
|
|
|
[ -z "${DEBUG:-}" ] || set -x
|
|
|
|
exec $DOCKER_BIN run \
|
|
--rm -it \
|
|
--env UVICORN_HOST=0.0.0.0 \
|
|
--publish 8000:8000 \
|
|
webclip \
|
|
"$@"
|