Initial submission of API demo

This commit is contained in:
2023-07-22 14:45:11 -06:00
parent 13ee3bbf94
commit e86a906f28
2 changed files with 59 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM quay01.ipa.endofday.com/everythingkubernetes/golang as build-env
WORKDIR /app
COPY . .
RUN go get -d -v ./...
RUN CGO_ENABLED=0 GOOS=linux go build -o app
FROM gcr.io/distroless/base
COPY --from=build-env /app/app /app
CMD ["/app"]