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