Public Repository

Last pushed: 2 years ago
Short Description
My little fancy http server
Full Description

FROM centos:7
MAINTAINER Tobias Germer

RUN yum update -y && yum install epel-release -y && yum install npm -y
RUN npm install http-server -g && mkdir /data
RUN echo "<html><head><title>My little fancy http server</title></head><body>You did it!</body></html>" > /data/index.html

VOLUME /data
WORKDIR /data

EXPOSE 8080

CMD http-server /data

Docker Pull Command
Owner
mycreepy

Comments (0)