mirror of
https://github.com/github/gitignore.git
synced 2026-11-05 09:34:38 +01:00
BootCamp WorkOut
Remote Evangelist
This commit is contained in:
1 parent
9929053533
commit
2929698137
4 files changed
+56
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
#build stage
|
||||
FROM golang:alpine AS builder
|
||||
RUN apk add --no-cache git
|
||||
WORKDIR /go/src/app
|
||||
COPY . .
|
||||
RUN go get -d -v ./...
|
||||
RUN go build -o /go/bin/app -v ./...
|
||||
|
||||
#final stage
|
||||
FROM alpine:latest
|
||||
RUN apk --no-cache add ca-certificates
|
||||
COPY --from=builder /go/bin/app /app
|
||||
ENTRYPOINT ["/app"]
|
||||
LABEL Name=gitignoretemplework Version=0.0.1
|
||||
EXPOSE 3000
|
||||
Reference in new issue
Block a user