Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 591 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 591 Bytes

Frontend and Backend Web

Build Images

  • docker image build -t backend backend
  • docker image build -t frontend frontend

Docker Deployment

Create Network

  • docker network create frontbackend

Launch Containers

  • docker container run --name backend -d --net=frontbackend backend
  • docker container run --name frontend -d --net=frontbackend -p 6666:8888 frontend

Check

  • curl localhost:6666: type twice
  • modify the backend/input.txt file
  • curl localhost:6666: type twice to see the update