mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-19 06:35:10 +00:00
fixed dbench and added check for crontab
This commit is contained in:
parent
8992678e7f
commit
9f5ae27000
2 changed files with 3 additions and 2 deletions
|
|
@ -18,6 +18,7 @@ RUN apt-get install -y curl
|
|||
RUN apt-get install -y rlwrap
|
||||
RUN apt-get install redis-tools
|
||||
RUN apt-get install -y nano
|
||||
RUN apt-get install -y crontab
|
||||
|
||||
# Generate locale C.UTF-8 for mariadb and general locale data
|
||||
ENV LANG C.UTF-8
|
||||
|
|
|
|||
4
dbench
4
dbench
|
|
@ -40,7 +40,7 @@ then
|
|||
elif [[ $1 == 'init' && $2 == '-d' ]]
|
||||
then
|
||||
frappe_installer
|
||||
docker exec -it frappe bash -c "cat frappe-bench/sites/site1/site_config.json"
|
||||
docker exec -it frappe bash -c "cat frappe-bench/sites/site1.local/site_config.json"
|
||||
|
||||
elif [ $1 == 'init' ]
|
||||
then
|
||||
|
|
@ -72,7 +72,7 @@ else
|
|||
;;
|
||||
:)
|
||||
echo "Option -$OPTARG requires an argument." >&2
|
||||
displpay_usage
|
||||
display_usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Reference in a new issue