Update Go and set entrypoint instead of command
This commit is contained in:
parent
2256352668
commit
b988b26a1d
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:1.13 as builder
|
FROM golang:1.15 as builder
|
||||||
|
|
||||||
COPY . /opt
|
COPY . /opt
|
||||||
WORKDIR /opt
|
WORKDIR /opt
|
||||||
|
@ -10,4 +10,4 @@ FROM scratch
|
||||||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||||
COPY --from=builder /opt/bin/app /
|
COPY --from=builder /opt/bin/app /
|
||||||
|
|
||||||
CMD ["/app"]
|
ENTRYPOINT ["/app"]
|
||||||
|
|
Loading…
Reference in New Issue