You are viewing a single comment's thread from:

RE: STEEM blockchain access with Python: setting up steem-python with Docker

in #steemit7 years ago (edited)

glad it helped!
You could even reduce this file to

FROM python:3
RUN pip install -U steem
RUN sed -i 's/(==0.9.3.1)/(==0.9.3)/g' /usr/local/lib/python3.6/site-packages/steem*/METADATA

apt-get update/upgrade is not necessarily needed (for steem-python to work - security is a different aspect). And with the wildcard in the sed command you should be safe with steem-python version bumps.

Coin Marketplace

STEEM 0.26
TRX 0.20
JST 0.037
BTC 93924.35
ETH 3401.00
USDT 1.00
SBD 3.82