Fix: Enviroment Live and Tests

This commit is contained in:
2024-06-20 16:22:13 -05:00
parent b4999f9640
commit 049b1f697a
6 changed files with 119 additions and 21 deletions

View File

@@ -1,5 +1,15 @@
# TOMADO DE: https://hg.tryton.org/tryton-docker/file/tip/6.6/Dockerfile
FROM python:3.11-bullseye
ARG TRYTOND_VERSION
ARG GITEA_USER
ARG GITEA_PASSWORD
ARG GITEA_DOMAIN
ARG FACHO
ARG FACHO_BRANCH
# trytond DB_CACHE requiere commandos `pg_dump` y `pg_restore`
RUN apt-get update && apt-get install -y postgresql-client
# Instalar psycopg2, flake8 y trytond
RUN pip install psycopg2 flake8 trytond==${TRYTOND_VERSION}