It was a typo in the dockerfile. I missed a space
between ENTRYPOINT
and [
. Dockerfile supports multiline ENTRYPOINT
and CMD
by terminating the line with \
, same as RUN
. So, in my case it can be
ENTRYPOINT [ "/path/myprocess", \
"arg1", \
"arg2" \
]