mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-20 15:05:08 +00:00
Pycups env and install
This commit is contained in:
parent
94aa96c624
commit
d77993f400
3 changed files with 3 additions and 3 deletions
|
|
@ -155,7 +155,7 @@ RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh |
|
||||||
&& echo '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion' >> ~/.bashrc
|
&& echo '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion' >> ~/.bashrc
|
||||||
|
|
||||||
# Install pycups
|
# Install pycups
|
||||||
RUN if [ "$INSTALL_PYCUPS" != "false" ]; then RUN /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi
|
RUN if [ "$INSTALL_PYCUPS" != "false" ]; then /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi
|
||||||
|
|
||||||
EXPOSE 8000-8005 9000-9005 6787
|
EXPOSE 8000-8005 9000-9005 6787
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ RUN apt-get update \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install pycups
|
# Install pycups
|
||||||
RUN if [ "$INSTALL_PYCUPS" != "false" ]; then RUN /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi
|
RUN if [ "$INSTALL_PYCUPS" != "false" ]; then /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi
|
||||||
|
|
||||||
USER frappe
|
USER frappe
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,7 @@ RUN apt-get update \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install pycups
|
# Install pycups
|
||||||
RUN if [ "$INSTALL_PYCUPS" != "false" ]; then RUN /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi
|
RUN if [ "$INSTALL_PYCUPS" != "false" ]; then /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi
|
||||||
|
|
||||||
USER frappe
|
USER frappe
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue