~/talk

How to Dockerize an Ethereum Decentralized Application

Talkat DockerCon 2022 · 2022-05-09..05-10· [devops-and-delivery, ethereum]
slides:none on file

Builds a simple Solidity contract that saves and fetches a message, deploys it to a local Ganache blockchain, and exposes four Node.js routes: compile, deploy, get, set. Uses Dockerfiles for three services (Ganache, server, React), notes the Ganache container must bind host as 0.0.0.0, and the server image pins Node 8.12.5 with Python2/GCC to satisfy web3 dependencies. React uses a two-stage build so the final image is about 24 MB, and images are pushed to Docker Hub via docker-compose.

AI-written summary · about

  1. 0:00Introduction to web3
  2. 1:02Why docker for web3
  3. 3:37Ethereum dApp overview
  4. 4:58Workflow and smart contract
  5. 6:17Writing the smart contract
  6. 7:29Ganache dockerfile
  7. 8:42Node.js server dockerfile
  8. 11:38React.js frontend dockerfile
  9. 13:45Docker compose setup
  10. 17:44Final demo
  11. 20:05Pushing images and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.