Remove config from Dockerfile

This commit is contained in:
Kirill Fedoseev 2021-06-08 14:26:58 +03:00
parent 620cec8d4e
commit e028bc57f0
2 changed files with 0 additions and 3 deletions

View File

@ -12,7 +12,6 @@ WORKDIR /app
RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates
COPY config.yml ./
COPY migrations ./migrations/ COPY migrations ./migrations/
COPY --from=build /app/amb-monitor ./ COPY --from=build /app/amb-monitor ./

View File

@ -7,7 +7,6 @@ import (
"amb-monitor/logging" "amb-monitor/logging"
"amb-monitor/monitor" "amb-monitor/monitor"
"context" "context"
"fmt"
"os" "os"
"os/signal" "os/signal"
) )
@ -53,7 +52,6 @@ func main() {
} }
for chainId, client := range clients { for chainId, client := range clients {
fmt.Println(chainId, cfg.Chains)
go monitor.StartBlockIndexer(context.Background(), conn, chainId, client, cfg.Chains[chainId]) go monitor.StartBlockIndexer(context.Background(), conn, chainId, client, cfg.Chains[chainId])
} }