Public Repository

Last pushed: 3 months ago
Short Description
Container for alpine linux with nodejs and npm installed
Full Description

Docker File

FROM labdocker/alpine:latest
MAINTAINER Praparn Lueangphoonlap (eva10409@gmail.com)
LABEL Description="NodeJS/NGINX Build Container" Version="1.0"
ENV NODE_VERSION=v4.3.0 NPM_VERSION=2.14.12
RUN apk update && \
apk add nodejs
RUN mkdir /nodejs
COPY hello.js /nodejs/
WORKDIR /nodejs
EXPOSE 3000


Example nodejs file is avaliable on nodejs/hello.js.

Please kindly run first web page for nodejs web server like command below:

docker run -dt --name alpineweb -p 3000:3000 labdocker/alpineweb node hello.js

Docker Pull Command
Owner
labdocker