fixed docker issues (#16)

Fixing Docker issues
This commit is contained in:
anbucher
2021-03-18 14:21:36 +01:00
committed by GitHub
parent 0048e72f46
commit 7541484d1f
7 changed files with 57 additions and 27 deletions

View File

@@ -1,19 +0,0 @@
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 9998
VOLUME [ "/conf", "/db" ]
# --no-daemon is required for keeping Container alive
CMD node index.js --no-daemon