start of gridlock

This commit is contained in:
cubixle
2024-04-19 18:56:34 +01:00
commit 4e5b492745
8 changed files with 1363 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
FROM golang:1 as build
COPY . /app
WORKDIR /app
RUN CGO_ENABLED=0 go build -o /app/bin main.go
FROM alpine:latest
WORKDIR /app
COPY --from=build /app/bin /app/bin
RUN chmod +x ./bin
CMD ["./bin"]