Run as script

This commit is contained in:
Alexandre
2021-01-31 09:06:35 +01:00
committed by GitHub
parent 9393115639
commit 228bbdee6a

View File

@@ -9,8 +9,10 @@ RUN \
&& pip install --upgrade pip \
&& pip install lastversion
# Copy root filesystem
COPY rootfs /
# Copy script
COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh"]
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]