This commit is contained in:
parent
209391c963
commit
e13c6c6697
@ -18,6 +18,6 @@ WORKDIR /build
|
||||
RUN make build
|
||||
|
||||
FROM scratch
|
||||
COPY --from=builder /build/main /app/
|
||||
COPY --from=builder /build/sco /app/main
|
||||
WORKDIR /app
|
||||
CMD ["./main"]
|
||||
|
@ -11,6 +11,13 @@ func main() {
|
||||
b.BotName = "LSV Serious Callers Only"
|
||||
b.Version = Version
|
||||
b.Buildarch = Buildarch
|
||||
b.APIURL = os.Getenv("SCO_API_URL")
|
||||
b.WebsocketURL = os.Getenv("SCO_WEBSOCKET_URL")
|
||||
b.DebuggingChannelName = os.Getenv("SCO_DEBUG_CHANNEL")
|
||||
b.AccountEmail = os.Getenv("SCO_ACCOUNT_EMAIL")
|
||||
b.AccountPassword = os.Getenv("SCO_ACCOUNT_PASSWORD")
|
||||
b.AccountFirstname = "LSV"
|
||||
b.AccountLastname = "Serious Callers Only"
|
||||
})
|
||||
os.Exit(mybot.Main())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user