![[Docker] node.js App을 Docker Image로 빌드하기](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2FbeTdnI%2FbtrB0FdVBy2%2FAAAAAAAAAAAAAAAAAAAAANzXOUKAwSu7cXaeHLvPNYo4chAB4-X5wAb5HUSuEnqT%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1751295599%26allow_ip%3D%26allow_referer%3D%26signature%3DE4AHZ9BdjtS27O270QbfzOUz8uA%253D)
DevOps/Docker2022. 5. 12. 23:17[Docker] node.js App을 Docker Image로 빌드하기
✔️ node.js Documentation | Node.js (nodejs.org) 두개의 서포트 버전이 존재한다. LTS : Long Term Support 을 사용한다. ✔️ node.js 설치 curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - sudo apt-get install -y nodejs 설치를 위해 저장소를 추가후 설치한다. vagrant@docker ~ node --version v16.15.0 ✔️ node.js App 개발 환경 준비 const http = require('http'); const hostname = '127.0.0.1'; const port = 3000; const server = http..