Add CMD to allow long running container
This commit is contained in:
parent
2236c8174e
commit
dd128ad449
|
|
@ -14,4 +14,5 @@ RUN addgroup -S appgroup && adduser -S user -G appgroup
|
||||||
# Tell docker that all future commands should run as the user user
|
# Tell docker that all future commands should run as the user user
|
||||||
USER user
|
USER user
|
||||||
COPY --from=builder /go/bin/grpcurl /usr/local/bin
|
COPY --from=builder /go/bin/grpcurl /usr/local/bin
|
||||||
WORKDIR /home/user
|
WORKDIR /home/user
|
||||||
|
CMD ["sh", "-c", "tail -f /dev/null"]
|
||||||
Loading…
Reference in New Issue