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.