From d858e881e87eebf6d9c37084c1bddc81fde844cd Mon Sep 17 00:00:00 2001 From: B4D_US3R Date: Sat, 1 Feb 2025 14:05:49 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 15c5edb..fe1da70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,11 @@ FROM golang:1.23 WORKDIR /app +RUN mkdir -p /app/config -COPY main.go go.mod go.sum config /app/ +COPY main.go go.mod go.sum /app/ +COPY config/config.go /app/config/ -RUN go build -v ./ +RUN go build main.go -CMD ["/app/main"] \ No newline at end of file +CMD ["/app/main"]