Sign inSign up

creativearea/node-libvips

By creativearea

Updated almost 10 years ago

NodeJS + LibVips image

Image
3

3.7K

creativearea/node-libvips repository overview

Docker Node + Libvips

This docker image provides NodeJS and Libvips

$ docker pull creativearea/node-libvips

Usage

If your are using this image, chances are your Node.js project requires native addon modules that depends on LibVips.

As node-gyp depends on Python, make, and a proper C/C++ compiler, don't forget to install the correct dependencies in your own Dockerfile.

FROM creativearea/node-libvips

RUN apt-get update && apt-get install -y python g++

RUN mkdir -p /usr/src/app

COPY . /usr/src/app

WORKDIR /usr/src/app

RUN npm install

EXPOSE 80

CMD [ "node", "index.js" ]

Tag summary

Content type

Image

Digest

sha256:172219420

Size

497.1 MB

Last updated

almost 10 years ago

docker pull creativearea/node-libvips