mirror of
https://github.com/cubixle/gridlock.git
synced 2026-04-30 01:58:43 +01:00
start of gridlock
This commit is contained in:
+10
@@ -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"]
|
||||
Reference in New Issue
Block a user