update Dockerfile and facho clone with fossil

This commit is contained in:
sinergia 2022-08-29 17:07:47 -05:00
parent 1d5126336c
commit c55ccb7067
2 changed files with 15 additions and 5 deletions

View File

@ -14,11 +14,12 @@ ENV GITEA_DOMAIN=""
ENV GITEA_USER=""
ENV GITEA_PASSWORD=""
ENV GITEA_ACCESS_TOKEN=""
#By default all organizations are set to false, activate only one as true.
ENV GnuHealth="False"
ENV Etrivial="False"
ENV Trytonar="False"
ENV OneTeam="False"
ENV OneTeam="True"
ENV OneTeam_pos="False"
ENV Presik="False"
ENV Datalife="False"
@ -42,11 +43,11 @@ RUN cd /tmp/ \
#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 \
# && pip3 install numpy matplotlib
# && 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
#USER trytond

View File

@ -75,7 +75,16 @@ if [ ${OneTeam} = "True" ]; then
&& rm -rf /var/lib/apt/lists/* \
&& pip3 install --upgrade pip \
&& pip3 install pytz \
"git+https://github.com/bit4bit/facho.git"
&& pip3 install numpy matplotlib \
&& cd /opt/ \
&& fossil clone https://sinergia:CDzmX6MhrEHA@lib.facho.cyou libfacho.fossil \
&& fossil open libfacho.fossil --workdir facho \
&& cd facho \
&& fossil checkout documento_soporte \
&& python3 setup.py develop \
&& cd ${DIR_MODULES}
#"git+https://github.com/bit4bit/facho.git"
prefix="trytondo-"
team_org="OneTeam"
pip="False"