castor/Dockerfile

7 lines
155 B
Docker
Raw Permalink Normal View History

2024-08-13 21:01:47 +00:00
FROM golang:1.23 as builder
2020-09-16 19:44:26 +00:00
COPY . /castor
RUN cd /castor && CGO_ENABLED=0 go build
FROM scratch
COPY --from=builder /castor/castor castor
CMD ["/castor"]