Files
fredy/Dockerfile
2020-01-08 14:52:16 +01:00

19 lines
388 B
Docker

FROM alpine:latest
RUN mkdir -p /usr/src/
#Install Software
RUN apk add --update nodejs npm git
RUN cd /usr/src && git clone https://github.com/orangecoding/fredy.git
RUN ln -s /usr/src/fredy/conf/ /conf
RUN cd /usr/src/fredy/ && npm install
WORKDIR /usr/src/fredy
EXPOSE 9876
VOLUME [ "/conf" ]
# --no-daemon is required for keeping Container alive
CMD node index.js --no-daemon