From d2934c8f3d1c4acad8632161574f6c5f19c90f6e Mon Sep 17 00:00:00 2001 From: Kichiyaki Date: Fri, 4 Jun 2021 19:46:34 +0200 Subject: [PATCH] chore: update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6028a43..0f94913 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:alpine as builder +FROM golang as builder # Set the Current Working Directory inside the container WORKDIR /app @@ -11,7 +11,7 @@ RUN go mod download # Copy the source from the current directory to the Working Directory inside the container COPY . . -RUN go generate ./.. +RUN go generate ./... RUN go build -o zdamegzawodowy . ######## Start a new stage from scratch #######