build(docker): support of force command registration
This commit is contained in:
parent
31930986fb
commit
ad129e8ae4
5 changed files with 12 additions and 8 deletions
|
@ -10,4 +10,6 @@ RUN go mod tidy && go build -o app .
|
|||
|
||||
ENV TOKEN=""
|
||||
|
||||
CMD ./app -token $TOKEN
|
||||
ENV FORCE_COMMAND_REGISTRATION="false"
|
||||
|
||||
CMD ./app -token $TOKEN -forge-command-registration $FORCE_COMMAND_REGISTRATION
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue