BUGFIX: daemon container could not build
This commit is contained in:
parent
d972cc24de
commit
24350a515b
@ -22,13 +22,13 @@ COPY wait-for-it.sh /usr/local/bin/wait-for-it.sh
|
||||
COPY entrypoint.daemon.sh /usr/local/bin/entrypoint.sh
|
||||
|
||||
RUN set -eux; \
|
||||
mv ${WEBCRON_ROOT}.env.sample ${WEBCRON_ROOT}.env && \
|
||||
chown -R www-data:www-data ${WEBCRON_ROOT} && \
|
||||
chmod uga+x /usr/local/bin/wait-for-it.sh && \
|
||||
chmod uga+x /usr/local/bin/entrypoint.sh && sync
|
||||
|
||||
USER www-data
|
||||
WORKDIR ${WEBCRON_ROOT}
|
||||
RUN mv .env.sample .env
|
||||
RUN composer install
|
||||
|
||||
RUN bash -c "if [ -n \"${VERSION}\" ] ; then echo ${VERSION} > ${WEBCRON_ROOT}/version ; fi"
|
||||
|
Loading…
Reference in New Issue
Block a user