basic dockerfile
This commit is contained in:
parent
b2d6756605
commit
1555f89305
7
Dockerfile
Normal file
7
Dockerfile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
FROM golang:1.15 as builder
|
||||||
|
COPY . /castor
|
||||||
|
RUN cd /castor && CGO_ENABLED=0 go build
|
||||||
|
|
||||||
|
FROM scratch
|
||||||
|
COPY --from=builder /castor/castor castor
|
||||||
|
CMD ["/castor"]
|
Loading…
Reference in New Issue
Block a user