Initial Release
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
# Build
|
||||
FROM golang:1.26.3-alpine3.22 AS build
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN go build -o gatekeeper.elf main.go
|
||||
|
||||
# Runtime
|
||||
FROM alpine:latest AS runtime
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/gatekeeper.elf .
|
||||
|
||||
ENV HTTP_ADDRESS="0.0.0.0:8080"
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["./gatekeeper.elf"]
|
||||
Reference in New Issue
Block a user