From 05e0e470e0c6b0ff30f7e71c5c7e0389c0a984ed Mon Sep 17 00:00:00 2001 From: Dennis Jekubczyk Date: Mon, 24 May 2021 12:35:42 +0200 Subject: [PATCH] move main --- build/Dockerfile | 2 +- main.go => cmd/main.go | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename main.go => cmd/main.go (100%) diff --git a/build/Dockerfile b/build/Dockerfile index cb3daf6..aa17c5a 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -3,7 +3,7 @@ FROM golang:1.16-alpine as builder WORKDIR /app ADD . ./ -RUN ls -al && go build -o main main.go +RUN go build -o main cmd/main.go FROM scratch as runtime diff --git a/main.go b/cmd/main.go similarity index 100% rename from main.go rename to cmd/main.go