22 lines
602 B
Docker
22 lines
602 B
Docker
FROM baseruntime/baseruntime:latest
|
|
|
|
ENV NAME=nodejs \
|
|
VERSION=0 \
|
|
RELEASE=1 \
|
|
ARCH=x86_64
|
|
|
|
LABEL summary="Javascript runtime." \
|
|
name="$FGC/$NAME" \
|
|
version="$VERSION" \
|
|
release="$RELEASE.$DISTTAG" \
|
|
architecture="$ARCH" \
|
|
usage="docker run nodejs node" \
|
|
description="Node.js is a platform built on V8 JavaScript Engine for easily building fast, scalable network applications." \
|
|
io.k8s.description="Node.js is a platform built on V8 JavaScript Engine for easily building fast, scalable network applications."
|
|
|
|
|
|
RUN microdnf --nodocs install nodejs npm
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD /bin/sh/
|