Skip to content

creative-area/docker-node-libvips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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" ]

About

Docker Image for Node.js + Libvips

Resources

License

Stars

Watchers

Forks

Packages

No packages published