run make file in build job

This commit is contained in:
Gianni Carafa
2023-12-05 15:07:12 +01:00
parent f78c958334
commit 8b3551659f
2 changed files with 2 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ COPY . .
RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux go build -o ladder cmd/main.go
RUN make build
FROM debian:12-slim as release
@@ -18,8 +18,4 @@ RUN chmod +x /app/ladder
RUN apt update && apt install -y ca-certificates && rm -rf /var/lib/apt/lists/*
#EXPOSE 8080
#ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["sh", "-c", "/app/ladder"]