Fix High memmory usage problem due to running multiple updater proccess

This commit is contained in:
sepehr 2024-08-05 15:35:59 +03:30
parent cfbffe1f64
commit 5ab8c5f10a
3 changed files with 14 additions and 2 deletions

View file

@ -12,7 +12,7 @@ RUN set -ex \
&& deps=' \
htop \
' \
&& apt-get install -y python3 pip $buildDeps $deps --no-install-recommends && pip install -r /reqs.txt --break-system-packages
&& apt-get install -y python3 python3-dev pip $buildDeps $deps --no-install-recommends && pip install -r /reqs.txt --break-system-packages
COPY front-update.py /
COPY mwcrontab /etc/cron.d/mwcrontab
RUN chmod 0644 /etc/cron.d/mwcrontab