Do not install trytond in base image

This commit is contained in:
Sergio Morillo 2023-09-14 18:50:37 +02:00
parent dcd65a7c96
commit ef01aa9edf
2 changed files with 8 additions and 0 deletions

View file

@ -37,6 +37,10 @@ RUN fc-cache -fv
USER ${USER}
# Install trytond
RUN cd core/trytond \
&& python3 setup.py develop --user
# Copy files
COPY --chown=trytond:trytond requirements.txt ${WORK_DIR}

View file

@ -32,6 +32,10 @@ RUN fc-cache -fv
USER ${USER}
# Install trytond
RUN cd core/trytond \
&& python3 setup.py develop --user
# Copy files
COPY --chown=trytond:trytond requirements.txt ${WORK_DIR}