19 lines
298 B
Docker
19 lines
298 B
Docker
|
FROM node:4
|
||
|
|
||
|
RUN apt update && \
|
||
|
apt dist-upgrade -y;
|
||
|
|
||
|
RUN apt install -y git;
|
||
|
|
||
|
RUN mkdir -p /opt/gitlab-to-irc
|
||
|
|
||
|
WORKDIR /opt
|
||
|
RUN git clone https://framagit.org/bnjbvr/gitlab-to-irc
|
||
|
|
||
|
WORKDIR /opt/gitlab-to-irc
|
||
|
COPY ./config.js /opt/gitlab-to-irc/config.js
|
||
|
|
||
|
RUN npm install
|
||
|
|
||
|
CMD node ./index.js
|