Fix: Correct Image use for development

This commit is contained in:
JJ-Cronos 2024-05-19 18:34:58 +02:00
parent 8e0efe96bc
commit 20541c5fbf
3 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
x-customizable-image: &customizable_image
# By default the image used only contains the `frappe` and `erpnext` apps.
# See https://github.com/frappe/frappe_docker/blob/main/docs/custom-apps.md
# about using custom images.
#TODO Replace Image with Custom Image for production. See https://github.com/frappe/frappe_docker/blob/main/docs/custom-apps.md
image: frappe/erpnext:${ERPNEXT_VERSION:?No ERPNext version set}
x-depends-on-configurator: &depends_on_configurator

View file

@ -42,7 +42,7 @@ services:
image: docker.io/redis:alpine
frappe:
image: docker.io/frappe/bench:latest
image: rafnav_bench:latest
command: sleep infinity
environment:
- SHELL=/bin/bash

View file

@ -130,11 +130,11 @@ RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/instal
&& brew install wget
# Add aliases
RUN touch $HOME/.bash_aliases \
&& echo "alias py='python'" >> $HOME/.bash_aliases \
&& echo "alias frap-install='py installer.py'" >> $HOME/.bash_aliases \
&& echo "alias install-rafnav='bench install-app erpnext documentation lending filing matter_management lrms raf_finance'" >> $HOME/.bash_aliases \
&& echo "alias start-dev='cd rafnav_bench'" >> $HOME/.bash_aliases
RUN touch ~/.bash_aliases \
&& echo 'alias py="python"' >> ~/.bash_aliases \
&& echo 'alias frap-install="py installer.py"'>> ~/.bash_aliases \
&& echo 'alias install-rafnav="bench install-app erpnext documentation lending filing matter_management lrms raf_finance"' >> ~/.bash_aliases \
&& echo 'alias start-dev="cd rafnav_bench"' >> ~/.bash_aliases
# Install Node via nvm