A Dockerfile for a base nodejs image.
Create a Dockerfile in your nodejs application directory with the following content:
FROM drachtio/nodejs
WORKDIR /app
ADD package.json /app/
RUN npm install
ADD . /app
CMD []
ENTRYPOINT ["/nodejs/bin/npm", "start"]
Run the following command in your app directory:
$ docker build -t my/app .
Content type
Image
Digest
Size
113.9 MB
Last updated
over 9 years ago
docker pull drachtio/nodejs