当我运行容器时,找不到restart.sh文件错误
dockerFile中的代码:
RUN addgroup --system ${USER_GROUP} && adduser --system
${NON_ROOT_USER} --ingroup ${USER_GROUP}
RUN apt-get update && apt-get install -y netcat jq iputils-ping wget
vim curl
COPY get-tca.sh /opt/tca/get-tca.sh
COPY restart.sh /opt/tca/restart.sh
RUN chmod 755 /opt/tca/restart.sh
RUN chmod 755 /opt/tca/mr-watchdog.sh
USER ${NON_ROOT_USER}:${USER_GROUP}
ENTRYPOINT /opt/tca/restart.sh