Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
DeekshithSN committed Dec 4, 2021
1 parent 4607fc3 commit 64faaa1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions kubernetes-vpa/vpa/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM golang:1.14-alpine as build

RUN apk add --no-cache git curl

WORKDIR /src

COPY app.go /src

RUN go build app.go

FROM alpine as runtime

COPY --from=build /src/app /app/app

CMD [ "/app/app" ]

0 comments on commit 64faaa1

Please sign in to comment.