Remove config from Dockerfile
This commit is contained in:
parent
620cec8d4e
commit
e028bc57f0
|
@ -12,7 +12,6 @@ WORKDIR /app
|
|||
|
||||
RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates
|
||||
|
||||
COPY config.yml ./
|
||||
COPY migrations ./migrations/
|
||||
COPY --from=build /app/amb-monitor ./
|
||||
|
||||
|
|
2
main.go
2
main.go
|
@ -7,7 +7,6 @@ import (
|
|||
"amb-monitor/logging"
|
||||
"amb-monitor/monitor"
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"os/signal"
|
||||
)
|
||||
|
@ -53,7 +52,6 @@ func main() {
|
|||
}
|
||||
|
||||
for chainId, client := range clients {
|
||||
fmt.Println(chainId, cfg.Chains)
|
||||
go monitor.StartBlockIndexer(context.Background(), conn, chainId, client, cfg.Chains[chainId])
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue