PyTrustNFe icon indicating copy to clipboard operation
PyTrustNFe copied to clipboard

Dockerfile

Open gabrieligbastos opened this issue 1 year ago • 1 comments

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...

gabrieligbastos avatar Mar 07 '23 00:03 gabrieligbastos

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

leandroguimaraes avatar May 23 '23 14:05 leandroguimaraes