#version Trytond server example 5.0 ARG TRYTOND_VERSION FROM tryton/tryton:$TRYTOND_VERSION #lebel custom LABEL org.label-schema.version="$TRYTON_VERSION" ARG TRYTOND_VERSION ARG PYTHON_VERSION ARG OneTeam ARG GnuHealth ARG Etrivial ARG Trytonar ARG OneTeam_pos ARG Presik ARG Datalife ARG NaNtic ARG Kalenis ARG GITEA_ORG ARG GITEA_DOMAIN ARG GITEA_USER ARG GITEA_PASSWORD ARG GITEA_ACCESS_TOKEN ARG DIR_MODULES USER root RUN apt-get update \ && apt-get install -y --no-install-recommends \ git \ python3-click RUN echo "Install modules non official" COPY trytond-modules_non_official.sh /tmp/trytond-modules_non_official.sh RUN cd /tmp/ \ && bash trytond-modules_non_official.sh ##Enabled loggings #COPY trytond_logging.conf /etc/trytond_logging.conf #COPY uwsgi.conf /etc/uwsgi.conf #RUN chown -R trytond:trytond /etc/trytond_logging.conf \ # && mkdir /var/log/trytond \ # && chown -R trytond:trytond /var/log/trytond #ENV TRYTOND_LOGGING_CONFIG=/etc/trytond_logging.conf #ENV TRYTOND_LOGGING_LEVEL=40 ##Running in development mode (must enabled loggings) #CMD ["trytond", "-c", "/etc/trytond.conf", "-vv", "--dev", "--logconf", "/etc/trytond_logging.conf"] #USER trytond