Closed shubhamoy closed 7 years ago
I'm seeing the same error. It is triggered by latest merged PR.
Like the traceback suggests, the error is caused by a typo in line 135. Instead of
def last_block(self) -> Dict[str: Any]:
this line should be
def last_block(self) -> Dict[str, Any]:
.
Also, for this fix to work, you have to change the Dockerfile from pulling the GitHub repo to using your local code. So simply comment out this line:
&& git clone https://github.com/dvf/blockchain.git /app \
and insert
COPY blockchain.py Pipfile /app/
before the RUN block.
Then you should be able to build and run the Dockerfile as usual.
Thanks a ton :) It worked like charm!
There is already a PR for that: #19 It's just that @dvf didn't merge it yet
I tried to run the docker container after a successful build and ran into this error:
Please help. TIA