kannon/docker/Dockerfile

27 lines
702 B
Docker
Raw Permalink Normal View History

FROM node:18-alpine3.15
LABEL version="1.0.0" \
author="Daniel Sommer <daniel.sommer@velvettear.de" \
license="MIT"
MAINTAINER Daniel Sommer <daniel.sommer@velvettear.de>
ENV LANG=C.UTF-8
RUN apk update --no-cache --progress \
&& apk upgrade --no-cache --progress \
&& apk add --no-cache --progress \
tzdata \
git \
&& ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime \
&& echo "Europe/Berlin" > /etc/timezone \
&& git clone https://git.velvettear.de/velvettear/kannon.git /opt/kannon \
&& cd /opt/kannon \
2022-06-01 16:32:56 +02:00
&& npm install \
&& apk del --no-cache tzdata git
2022-06-08 14:35:25 +02:00
COPY ["docker_config.json", "/opt/kannon/config.json"]
2022-06-01 16:32:56 +02:00
WORKDIR /opt/kannon
2022-06-08 14:35:25 +02:00
ENTRYPOINT ["node", "kannon.js"]