mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
fix: allow bench backup on large database to work
This commit is contained in:
parent
b853d9e6bf
commit
f21ac5e71b
1 changed files with 3 additions and 0 deletions
|
|
@ -104,6 +104,9 @@ RUN git clone ${GIT_REPO} --depth 1 -b ${GIT_BRANCH} .bench \
|
|||
&& echo "export PATH=/home/frappe/.local/bin:\$PATH" >>/home/frappe/.bashrc \
|
||||
&& echo "export BENCH_DEVELOPER=1" >>/home/frappe/.bashrc
|
||||
|
||||
# On Some ERPNext database tabDelete Document have big data and 16M allowed packet is too small to perform bench backup
|
||||
RUN sed -Ei -e 's/max_allowed_packet = 16M/max_allowed_packet = 512M/' /etc/mysql/conf.d/mysqldump.cnf
|
||||
|
||||
# Install Node via nvm
|
||||
ENV NODE_VERSION=14.18.1
|
||||
ENV NODE_VERSION_FRAPPEV11=10.24.1
|
||||
|
|
|
|||
Loading…
Reference in a new issue