Pycups env and install

This commit is contained in:
martkaczmarek 2026-05-22 13:41:41 +02:00
parent e15ac47fb0
commit 94aa96c624
3 changed files with 3 additions and 3 deletions

View file

@ -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
# 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 RUN /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi
EXPOSE 8000-8005 9000-9005 6787

View file

@ -123,7 +123,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*
# 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 RUN /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi
USER frappe

View file

@ -115,7 +115,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*
# 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 RUN /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi
USER frappe