prestashop

This commit is contained in:
76487013@qq.com 2023-06-05 15:56:01 +08:00
parent e73518f689
commit 2c927f2f84
2 changed files with 2 additions and 1 deletions

View file

@ -10,7 +10,7 @@ COPY static ./static
COPY requirements.txt main.py ./
RUN apt update
# Install supervisord
# Install supervisords
RUN apt install -y supervisor
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY config/cmd.sh /cmd.sh

View file

@ -196,6 +196,7 @@ def get_map(path):
env_dic = {}
if int(code) == 0:
ret = output["result"]
myLogger.info_logger(ret)
env_list = ret.split("\n")
for env in env_list:
if "=" in env: