diff --git a/user-contracts-mon/Dockerfile b/user-contracts-mon/Dockerfile index e8622b88a..f91d6119e 100644 --- a/user-contracts-mon/Dockerfile +++ b/user-contracts-mon/Dockerfile @@ -4,6 +4,8 @@ WORKDIR /contracts-mon-bot COPY . . +WORKDIR /contracts-mon-bot/user-contracts-mon + RUN go mod tidy RUN go build -o contractsmon main.go diff --git a/user-contracts-mon/README.md b/user-contracts-mon/README.md index d604e1231..8cfe5bff7 100644 --- a/user-contracts-mon/README.md +++ b/user-contracts-mon/README.md @@ -48,7 +48,7 @@ Ensure that you have installed: - Using Docker ```bash - docker build -t contract-mon . + docker build -t contract-mon -f Dockerfile ../ docker run -it contract-mon ```