nodejs/Dockerfile
Petr "Stone" Hracek 943bed62f1 First set of tests.
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
2017-06-09 10:41:43 +02:00

25 lines
723 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."
COPY repos/* /etc/yum.repos.d/
RUN sed -i 's|/jkaluza/|/ralph/|g' /etc/yum.repos.d/build.repo && \
microdnf --nodocs --enablerepo nodejs install nodejs npm
EXPOSE 8080
CMD /bin/sh/