openreplay/utilities/Dockerfile
2022-02-15 21:42:08 +01:00

16 lines
No EOL
421 B
Docker

FROM node:17-stretch
WORKDIR /work
COPY . .
RUN npm install
ENV MAXMINDDB_FILE=/root/geoip.mmdb
RUN wget https://static.openreplay.com/geoip/GeoLite2-Country.mmdb -O "$MAXMINDDB_FILE";
# Add Tini
# Startup daemon
ENV TINI_VERSION v0.19.0
ARG envarg
ENV ENTERPRISE_BUILD ${envarg}
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
ENTRYPOINT ["/tini", "--"]
CMD npm start