build(docker): add core application image
This commit is contained in:
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
case "${1:-server}" in
|
||||
server)
|
||||
shift || true
|
||||
exec node /app/backend/dist/server.js "$@"
|
||||
;;
|
||||
doctor)
|
||||
shift
|
||||
exec tht doctor "$@"
|
||||
;;
|
||||
preprocess)
|
||||
shift
|
||||
exec tht preprocess "$@"
|
||||
;;
|
||||
tht)
|
||||
shift
|
||||
exec tht "$@"
|
||||
;;
|
||||
*)
|
||||
exec tht "$@"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user