Simple Blog Application web client
- Install node 12
- Clone repo:
git clone git@github.com:GoranMandic91/blog-app-www.git && cd blog-app-www
- Run
npm install
- Start local server
npm start
- Go to:
http://localhost:3000
-
Clone repo:
git clone git@github.com:GoranMandic91/blog-app-www.git && cd blog-app-www
-
Build docker image
docker build -t blog-app-www .
- Run docker container
docker start blog-www 2>/dev/null || \
docker run --name blog-www \
-p 9090:80 \
-d blog-app-www:latest
-
Go to:
http://localhost:9090
-
Run a command in a running container
docker exec -it blog-www sh
- Get container logs
docker logs blog-www