align logic entrypoint

This commit is contained in:
Alexandre
2021-12-07 20:47:09 +01:00
parent c1b226d22d
commit f35c65dd88
5 changed files with 118 additions and 4 deletions

View File

@@ -10,10 +10,12 @@ RUN \
&& pip install --upgrade pip \
&& pip install lastversion
# Copy script
COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh"]
# copy local files
COPY rootfs/ /
#WORKDIR /
RUN chmod 777 /entrypoint.sh
ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/entrypoint.sh" ]
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]