From cc4745ee2e32938121b33d57b15170fc39564eee Mon Sep 17 00:00:00 2001 From: Eslam-Nawara Date: Wed, 22 Jan 2025 14:01:48 +0200 Subject: [PATCH] fix node-registrar dockerfile --- node-registrar/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-registrar/Dockerfile b/node-registrar/Dockerfile index 5667298f..e9dad9cd 100644 --- a/node-registrar/Dockerfile +++ b/node-registrar/Dockerfile @@ -2,11 +2,11 @@ FROM golang:1.21-alpine as builder WORKDIR /app -COPY go.mod go.sum ./ +COPY /node-registrar/go.mod /node-registrar/go.sum . RUN go mod download -COPY . . +COPY /node-registrar . RUN go build -o server ./cmds/registrar.go