frappe_docker helpdesk error

any one can help me lokhilkishan60@gmail.com to google meet me

i have problem to setup frappe_docker time after this commend

docker build
–build-arg=FRAPPE_PATH= GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
–build-arg=FRAPPE_BRANCH=version-15
–build-arg=APPS_JSON_BASE64=$APPS_JSON_BASE64
–tag=custom:15
–file=images/layered/Containerfile .

errors:-

176.9 ERROR: Could not find a version that satisfies the requirement wheel (from versions: none)
176.9 ERROR: No matching distribution found for wheel
190.3 subprocess.CalledProcessError: Command ‘/home/frappe/frappe-bench/env/bin/python -m pip install wheel’ returned non-zero exit status 1.
190.3 ERROR: There was a problem while creating /home/frappe/frappe-bench

Containerfile:17

16 |
17 | >>> RUN export APP_INSTALL_ARGS=“” &&
18 | >>> if [ -n “${APPS_JSON_BASE64}” ]; then
19 | >>> export APP_INSTALL_ARGS=“–apps_path=/opt/frappe/apps.json”;
20 | >>> fi &&
21 | >>> bench init ${APP_INSTALL_ARGS}
22 | >>> --frappe-branch=${FRAPPE_BRANCH}
23 | >>> --frappe-path=${FRAPPE_PATH}
24 | >>> --no-procfile
25 | >>> --no-backups
26 | >>> --skip-redis-config-generation
27 | >>> --verbose
28 | >>> /home/frappe/frappe-bench &&
29 | >>> cd /home/frappe/frappe-bench &&
30 | >>> echo “{}” > sites/common_site_config.json &&
31 | >>> find apps -mindepth 1 -path “*/.git” | xargs rm -fr

32
ERROR: failed to solve: process “/bin/sh -c export APP_INSTALL_ARGS=”" && if [ -n “${APPS_JSON_BASE64}” ]; then export APP_INSTALL_ARGS=“–apps_path=/opt/frappe/apps.json”; fi && bench init ${APP_INSTALL_ARGS} --frappe-branch=${FRAPPE_BRANCH} --frappe-path=${FRAPPE_PATH} --no-procfile --no-backups --skip-redis-config-generation --verbose /home/frappe/frappe-bench && cd /home/frappe/frappe-bench && echo “{}” > sites/common_site_config.json && find apps -mindepth 1 -path “*/.git”

To create docker multi-site and multi-app please use easy-install.py: -

  1. wget https://raw.githubusercontent.com/frappe/bench/develop/easy-install.py

  2. git clone GitHub - frappe/frappe_docker: Docker images for production and development setups of the Frappe framework and ERPNext

  3. In “frappe_docker/development/apps-example.json” edit your apps with their branch: -
    [
    { “url”: “https://github.com/frappe/erpnext”, “branch”: “version-15” },
    { “url”: “https://github.com/frappe/hrms”, “branch”: “version-15” },
    { “url”: “https://github.com/frappe/education”, “branch”: “version-15” },
    { “url”: “https://github.com/frappe/crm”, “branch”: “main” },
    { “url”: “https://github.com/frappe/wiki”, “branch”: “master”},
    { “url”: “https://github.com/Aakvatech-Limited/CSF_TZ”, “branch”: “master”}
    ]

  4. python3 easy-install.py build

  5. python3 easy-install.py deploy --image=custom-apps --version=latest --sitename=bench3site1.duckdns.org --sitename=bench3site2.duckdns.org --sitename=bench3site3.duckdns.org --app=erpnext --app=hrms --app=education --app=crm --app=wiki --app=csf_tz

For step 4 and 5 if you want more options rather than default values please check out GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps

Don’t forget to add the sites to your host file

1 Like

thank you for help brother

i have one question for you any documnet or any viodes to lenrre for devops