You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aggregation-platform/Dockerfile

23 lines
577 B

FROM centos:centos7
MAINTAINER Jimmi Dyson <jimmidyson@gmail.com>
ENTRYPOINT ["/kuisp"]
CMD [ "-p", "9090", \
"-c", "/site/osconsole/config.js.tmpl=/site/osconsole/config.js", \
"--default-page=/index.html", \
"--max-age=24h", \
"--compress" ]
EXPOSE 9090
ENV KUISP_VERSION 0.10
RUN yum install -y tar && \
yum clean all && \
curl -L https://github.com/jimmidyson/kuisp/releases/download/v${KUISP_VERSION}/kuisp-${KUISP_VERSION}-linux-amd64.tar.gz | \
tar xzv
COPY site /site/
RUN chmod 777 /site/osconsole/
WORKDIR /site/
USER nobody