Add CMD to allow long running container

This commit is contained in:
jkev53 2018-11-13 11:25:06 -06:00
parent 2236c8174e
commit dd128ad449
1 changed files with 2 additions and 1 deletions

View File

@ -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
USER user
COPY --from=builder /go/bin/grpcurl /usr/local/bin
WORKDIR /home/user
WORKDIR /home/user
CMD ["sh", "-c", "tail -f /dev/null"]