BootCamp WorkOut

Remote Evangelist
This commit is contained in:
Wattsupjosh committed 2025-09-24 14:31:46 -05:00
1 parent 9929053533
commit 2929698137
4 files changed
+56

No files matched your search

+15
View File
@@ -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