This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
FROM golang:1.26 as builder
|
||||
COPY . /castor
|
||||
RUN cd /castor && CGO_ENABLED=0 go build
|
||||
|
||||
FROM scratch
|
||||
COPY --from=builder /castor/castor castor
|
||||
COPY ./castor castor
|
||||
CMD ["/castor"]
|
||||
Reference in New Issue
Block a user