Browse Source

move main

migrate-to-golang
Dennis Jekubczyk 3 years ago
parent
commit
05e0e470e0
2 changed files with 1 additions and 1 deletions
  1. +1
    -1
      build/Dockerfile
  2. +0
    -0
      cmd/main.go

+ 1
- 1
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

main.go → cmd/main.go


Loading…
Cancel
Save