danimaribeiro / PyTrustNFe

Módulo NF-e Python
GNU Affero General Public License v3.0
173 stars 141 forks source link

Dockerfile #321

Open gabrieligbastos opened 1 year ago

gabrieligbastos commented 1 year ago

Alguém com um dockerfile de um setup que funcione?

Tentando instalar aqui, já deu erro no suds, no xmlsec, já consertei uns 4-5 e não para de aparecer erros...

leandroguimaraes commented 1 year ago

Resolvi todos os erros assim:

RUN apt-get install -y pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl build-essential libpython3-dev
RUN pip3 install pyOpenSSL==23.1.1 --force-reinstall
RUN pip3 install cryptography==38.0.4 --force-reinstall
RUN pip3 install signxml
RUN git clone https://github.com/danimaribeiro/PyTrustNFe && pip3 install ./PyTrustNFe