The basic image for creating images of a certain application.
Dockerfile linkscurrent (current/Dockerfile)12.18.3 (v12.18.3/Dockerfile)10.12.0 (v10.12.0/Dockerfile)9.5.0 (v9.5.0/Dockerfile)8.9.4 (v8.9.4/Dockerfile)Create a Dockerfile in your nodejs application directory with the following content:
FROM romson/nodejs
WORKDIR /app
ADD . /app
RUN npm install
ENTRYPOINT ["/usr/bin/npm", "start"]
Run the following command in your application directory:
docker build -t my/app .
Create a Dockerfile in your nodejs application directory with the following content:
FROM romson/nodejs
WORKDIR /app
ADD . /app
RUN npm install
ENTRYPOINT ["/nodejs/bin/npm", "start"]
Run the following command in your application directory:
docker build -t my/app .
Content type
Image
Digest
Size
274.5 MB
Last updated
over 4 years ago
docker pull romson/nodejs:current