Public Repository

Last pushed: a year ago
Short Description
Hello World - node.js running on ubuntu
Full Description

Build using: "Dockerizing a Node.js web app" on nodejs.org

https://nodejs.org/en/docs/guides/nodejs-docker-webapp/

-------------- Dockerfile

Docker image

FROM node:argon

Create app directory

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

Install app dependencies

COPY package.json /usr/src/app/
RUN npm install

Bundle app source

COPY . /usr/src/app

EXPOSE 8080
CMD [ "npm", "start" ]

Docker Pull Command
Owner
trifused

Comments (0)