NEW FEATURE: version tag in image
This commit is contained in:
parent
bf6ba44fa5
commit
07eab26637
@ -45,6 +45,8 @@ WORKDIR ${WEBCRON_ROOT}
|
|||||||
RUN mv .env.sample .env
|
RUN mv .env.sample .env
|
||||||
RUN composer install
|
RUN composer install
|
||||||
|
|
||||||
|
RUN bash -c "if [ -n \"${VERSION}\" ] ; then echo ${VERSION} > ${WEBCRON_ROOT}/version ; fi"
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user