Docker. Episode 14 — Dockerizing App having different types of data

  1. Application (Code + Environment):

Analysing a Realtime App

server.js

Dockerizing the App:

FROM node:17WORKDIR /appCOPY package.json .RUN npm installCOPY . .EXPOSE 80CMD ["node", "server.js"]
docker build .or docker build -t feedback-node // image created with name
docker run -p 3000:80 -d –name feedback-app –rm feedback-node
http://localhost:3000

Video:

Closing Thoughts:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store