Skip to content

About

♻️ Base Dockerfile for NPM modules

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

alpine-node

Base Dockerfile for NPM modules.

Usage

Available on Docker Hub as pavlov/alpine-node.

FROM pavlov/alpine-node:latest
MAINTAINER Laika <laika@pavlovml.com>

# deps
RUN apk --update add gcc g++ python

# install
RUN mkdir -p /opt/app
WORKDIR /opt/app
COPY . ./
RUN npm install

# clean up
RUN apk del gcc g++ python && \
    rm -rf /tmp/* /var/cache/apk/* /root/.npm /root/.npmrc /root/.node-gyp

# run
EXPOSE 80
CMD [ "npm", "start" ]

Development

$ make

License

BSD 3-Clause

About

♻️ Base Dockerfile for NPM modules

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages