Skip to content

dsys/alpine-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

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 <[email protected]>

# 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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published