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 --upgrade pip \
&& pip install lastversion && pip install lastversion
# Copy root filesystem # Copy script
COPY rootfs / COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh"]
# Set shell # Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]