Skip to content

Commit

Permalink
fix: add bench use site
Browse files Browse the repository at this point in the history
  • Loading branch information
pipech committed Nov 21, 2023
1 parent eb9a83f commit be70333
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ RUN sudo apt-get update \
--mariadb-root-password $mysqlPass \
--admin-password $adminPass \
&& bench --site $siteName install-app erpnext \
# use site
&& bench use $siteName \
# compile all python file
## the reason for not using python3 -m compileall -q /home/$systemUser/$benchFolderName/apps
## is to ignore frappe/node_modules folder since it will cause syntax error
Expand Down

0 comments on commit be70333

Please sign in to comment.