This commit is contained in:
Adam
2020-01-08 14:29:41 +01:00
parent 453b34cea2
commit 2f27ce1f37

View File

@@ -1,19 +1,19 @@
FROM alpine:latest
WORKDIR /usr/src/
RUN cd /usr/src/
RUN mkdir -p /usr/src/
RUN apk add --update nodejs npm git
RUN git clone https://github.com/orangecoding/fredy.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" ]
CMD node /index.js --no-daemon
CMD node index.js --no-daemon